Skip to content

collectors MemoryCollector

Rob Smith edited this page Oct 29, 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

Setting Default Description Type
byte_unit byte Default numeric output(s) str
detailed Set to True to Collect all the nodes
enabled True Enable collecting these metrics str
measure_collector_time False Collect the collector run time in ms bool

Example Output

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