Add wired field to mem input (#3632)

This commit is contained in:
Daniel Nelson
2018-01-02 16:37:11 -08:00
committed by GitHub
parent 81f42e8b17
commit b900967b78
3 changed files with 4 additions and 1 deletions

View File

@@ -32,6 +32,7 @@ func (s *MemStats) Gather(acc telegraf.Accumulator) error {
"buffered": vm.Buffers,
"active": vm.Active,
"inactive": vm.Inactive,
"wired": vm.Wired,
"slab": vm.Slab,
"used_percent": 100 * float64(vm.Used) / float64(vm.Total),
"available_percent": 100 * float64(vm.Available) / float64(vm.Total),