[collectd] [patch] swap plugin - swap in/out does not work for kernels <2.6

Florian Forster octo at verplant.org
Wed Jan 20 18:15:22 CET 2010

Hi Lorin,

On Tue, Jan 19, 2010 at 03:22:32PM -0800, Lorin Scraba wrote:
> It works on RedHat9 and 6 (don't ask). A more gracefull solution is
> having a configuration option for choosing /proc/<foo> format I
> suppose...
> Hope it helps some sysadmins like me that are forced to maintained
> anqituities in production.

great, thanks for the patch :) I've applied it to the master branch and
moved the <2.6 parsing code into the same "while (fgets)" loop as the
2.6 code.

Florian octo Forster
Hacker in training
GnuPG: 0x91523C3D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20100120/07a9b896/attachment.pgp 

More information about the collectd mailing list