[collectd] swap.c problem on Solaris

Florian Forster octo at verplant.org
Wed May 24 17:46:37 CEST 2006


Hi Christophe,

On Wed, May 24, 2006 at 10:01:18AM -0400, Christophe Kalt wrote:
> swap_alloc is occasionally greater than swap_resv causing "swap_resv -
> swap_alloc" to be invalid data.

I tried to understand the Solaris swap mechanismn when implementing
this, but I have to admit that it was a little too weird for me. So I
ended up copying some code I found on the web.. The URL of the page
should be in the code somewhere..

Some days ago I came accross a page that suggested using the `unix,
vminfo' kstat to gather swap values.. Do you know if that's any better?

Regards,
-octo
-- 
Florian octo Forster
Hacker in training
GnuPG: 0x91523C3D
http://verplant.org/
-------------- 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/20060524/0f9974bc/attachment.pgp


More information about the collectd mailing list