ajacoutot 40313e9896 - fix a misplaced cast that would corrupt swap statistics for systems
with >=2GB swap
- replace kvm reads with sysctl()
this change brings some useful improvements in the process:
* it fixes the disk plugin
* if you don't care about TCP connection statistics, then running sgid
is not needed anymore

all work done by Josh Elsasser, thank you!
"functionality-wise: thumbs up!" sturm@
2009-02-06 12:55:48 +00:00
..
2008-07-05 08:36:47 +00:00
2003-11-03 20:35:51 +00:00