Xymon Mailing List Archive search

Solaris 10 swap not showing on memory alert correctly?

list Jeremy Laidman
Thu, 27 Jun 2013 12:57:50 +1000
Message-Id: <user-9a833eae04b7@xymon.invalid>

On 27 June 2013 02:38, Gore, David W (David) <user-368fd67cc6bd@xymon.invalid> wrote:
Where is it getting the 106M number?  Anyone else seen this on Solaris?  *
***

Yes, same here.  It gets the number from the [swaplist] section (from `swap
-l`) of your client message, in preference to the [swap] section (from
`swap -s`).  [Reference: xymond/client/solaris.c, in function
handle_solaris_client()]

So the real question is, why does "swap -s" and "swap -l" give different
results?  The man page for swap indicates that "swap -s" includes swap
space in the form of physical memory (in addition to swap partitions and
files).  Physical memory used for swap?!  Huh!? I really don't know how the
Solaris memory management works!

J