telegraf/plugins/system
subhachandrachandra 8d034f544c Fixed memory reporting for Linux systems
/proc/meminfo reports memory in KiloBytes and so needs a multiplier of 1024 instead of 1000.
The kernel reports in terms of pages and the proc filesystem is left shifting by 2 for 4KB pages to get KB. Since this is a binary shift, Bytes will need to shift by 10 and so get multiplied by 1024.

From the kernel code. PAGE_SHIFT = 12 for 4KB pages
"MemTotal:       %8lu kB\n", K(i.totalram)

Closes #131
2015-08-25 14:18:14 -06:00
..
ps Fixed memory reporting for Linux systems 2015-08-25 14:18:14 -06:00
cpu.go Rebase and fixups for PR #111, fixes issue #33 2015-08-13 14:47:51 -06:00
disk.go to filter by filesystem type, we need to pass that up the chain 2015-08-10 19:19:36 -06:00
docker.go Tivan is dead, long live Telegraf. Fixes #3 2015-05-22 16:45:14 -07:00
memory.go Typo: prec -> perc 2015-08-25 14:15:12 -06:00
mock_PS.go Allow a PerCPU configuration variable, issue #108 2015-08-13 13:30:11 -06:00
net.go A set of fixes to fix the tests 2015-05-26 22:15:05 -07:00
ps.go fix segv on error 2015-08-20 07:49:46 -06:00
system.go Tivan is dead, long live Telegraf. Fixes #3 2015-05-22 16:45:14 -07:00
system_test.go Typo: prec -> perc 2015-08-25 14:15:12 -06:00