Code

Add support for Solaris/HP-UX versions of swapctl in swap plugin
authorAurélien Reynaud <collectd@wattapower.net>
Tue, 4 May 2010 13:05:13 +0000 (15:05 +0200)
committerFlorian Forster <octo@huhu.verplant.org>
Wed, 19 May 2010 09:25:00 +0000 (11:25 +0200)
commit1f57476bee2e0311d39f30fa50c3da4d74f654ba
tree43fd40a3b6369bc0347bd12fa67a887a3eb3f7ef
parent34eb0428ed2d9f8e9433cc71e43da6761d174e1a
Add support for Solaris/HP-UX versions of swapctl in swap plugin

This patch adds support for the Solaris/HP-UX version of swapctl(),
which takes two arguments instead of three in the BSD version.

Signed-off-by: Florian Forster <octo@huhu.verplant.org>
src/swap.c