telegraf/plugins/inputs/system/MEM_README.md

36 lines
875 B
Markdown
Raw Permalink Normal View History

2017-11-29 18:49:45 +00:00
# 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](http://www.linuxatemyram.com/).
### Configuration:
```toml
# 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)
2018-01-03 00:37:11 +00:00
- wired (int)
2017-11-29 18:49:45 +00:00
### 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
```