[hobbit] Solaris memory reporting

Henrik Stoerner henrik at hswn.dk
Mon Jul 10 20:54:12 CEST 2006


On Mon, Jul 10, 2006 at 02:27:35PM -0400, Gary B. wrote:
> Curious thing I noticed today, with the 7-6-2006 client snapshot...  I
> just compiled the hobbit client on a solaris 8 box, and everything is
> working fine.  However, BB is reporting 83% swap usage (which is the
> same value returned by swapdf), yet the Hobbit client is reporting
> only 77% swap usage.
> 
> The solaris machine has both a swap partition, as well as a swap file
> (in /tmp).  What method does the Hobbit client use to determine swap
> usage?  Since Hobbit reports more free swap than BB, I'm assuming that
> means BB is only looking at the swap slice and not the combined swap
> slice + swap file to generate the swap usage.

Hobbit uses the command "/usr/sbin/swap -s" (see the
client/bin/hobbitclient-sunos.sh script).


Regards,
Henrik




More information about the Xymon mailing list