Skip to content

collectors MemoryCollector

Rob Smith edited this page Aug 11, 2012 · 18 revisions

MemoryCollector

This class collects data on memory utilization

/proc/meminfo is used to gather the data, which is returned in units of kB

Dependencies

  • /proc/meminfo or psutil

Options

  • Generic Options
  • detailed: Set to True to Collect all the nodes
  • enabled: Enable collecting these metrics
  • byte_unit: Default numeric output(s)

Example Output

servers.hostname.Active 10022168
servers.hostname.Buffers 1526304
servers.hostname.Cached 10726736
servers.hostname.Dirty 24748
servers.hostname.Inactive 2524928
servers.hostname.MemFree 35194496
servers.hostname.MemTotal 49554212
servers.hostname.SwapCached 0
servers.hostname.SwapFree 262143996
servers.hostname.SwapTotal 262143996
servers.hostname.VmallocChunk 34311049240
servers.hostname.VmallocTotal 34359738367
servers.hostname.VmallocUsed 445452
Clone this wiki locally