Mem#
The mem
plugin collects system memory metrics.
- Configuration:
# Read metrics about memory usage
[[inputs.mem]]
# no configuration
- Example Output:
{
"fields": {
"active": 4200148992,
"available": 6733905920,
"available_percent": 82.09099806259613,
"buffered": 155123712,
"cached": 6387007488,
"commit_limit": 7321661440,
"committed_as": 1193463808,
"dirty": 32768,
"free": 801058816,
"high_free": 0,
"high_total": 0,
"huge_page_size": 2097152,
"huge_pages_free": 0,
"huge_pages_total": 0,
"inactive": 2940309504,
"low_free": 0,
"low_total": 0,
"mapped": 28700672,
"page_tables": 7487488,
"shared": 367742976,
"slab": 166735872,
"swap_cached": 2682880,
"swap_free": 3150954496,
"swap_total": 3220172800,
"total": 8202977280,
"used": 859787264,
"used_percent": 10.48140491741067,
"vmalloc_chunk": 35184203816960,
"vmalloc_total": 35184372087808,
"vmalloc_used": 162082816,
"wired": 0,
"write_back": 0,
"write_back_tmp": 0
},
"name": "mem",
"tags": {
"host": "vslems01",
"id": "vslems01",
"type": "server"
},
"timestamp": 1576004540
}