telegraf/plugins/inputs/mem
shrug42 6ad5089361 Add gopsutil meminfo fields to mem plugin (#4546) 2018-08-13 17:41:23 -06:00
..
README.md
memory.go Add gopsutil meminfo fields to mem plugin (#4546) 2018-08-13 17:41:23 -06:00
memory_test.go Add gopsutil meminfo fields to mem plugin (#4546) 2018-08-13 17:41:23 -06:00

README.md

Mem Input Plugin

The mem plugin collects system memory metrics.

For a more complete explanation of the difference between used and actual_used RAM, see Linux ate my ram.

Configuration:

# Read metrics about memory usage
[[inputs.mem]]
  # no configuration

Metrics:

  • mem
    • fields:
      • active (int)
      • available (int)
      • buffered (int)
      • cached (int)
      • free (int)
      • inactive (int)
      • slab (int)
      • total (int)
      • used (int)
      • available_percent (float)
      • used_percent (float)
      • wired (int)

Example Output:

mem cached=7809495040i,inactive=6348988416i,total=20855394304i,available=11378946048i,buffered=927199232i,active=11292905472i,slab=1351340032i,used_percent=45.43883523785713,available_percent=54.56116476214287,used=9476448256i,free=1715331072i 1511894782000000000