Files
telegraf/plugins
subhachandrachandra 13ee9ff37b 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)
2015-08-21 16:08:54 -07:00
..
2015-08-19 13:24:07 -06:00
2015-07-22 17:14:31 -07:00
2015-08-19 13:25:21 -06:00
2015-08-07 08:58:24 +00:00
2015-08-05 14:47:12 -06:00
2015-08-05 14:46:31 -06:00
2015-07-21 11:48:49 -07:00