Code

swap plugin - swap in/out does not work for kernels <2.6
authorLorin Scraba <lorin@si-bemol.ro>
Tue, 19 Jan 2010 23:22:32 +0000 (15:22 -0800)
committerFlorian Forster <octo@huhu.verplant.org>
Wed, 20 Jan 2010 16:42:14 +0000 (17:42 +0100)
commit6aec896d16575505f32c67f62ad107054ed301ca
treec7db12fa5bdb111cdb0089fd85ecf229eda2c855
parenta8411ca70348af6d59492b374a32bde73bb4c4a7
swap plugin - swap in/out does not work for kernels <2.6

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.

Cheers

From 1da38c6d515f7fa4599b7b08e1284fb2ac9a504a Mon Sep 17 00:00:00 2001
From: Lorin Scraba <lorin@si-bemol.ro>
Date: Tue, 19 Jan 2010 15:16:29 -0800
Subject: [PATCH] swap plugin - swapin/out fix for older kernels - <2.6

Signed-off-by: Lorin Scraba <lorin@si-bemol.ro>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
src/swap.c