[Nagiosplug-devel] check_swap in SUN OS
sean finney
seanius at seanius.net
Sat Jun 25 16:53:54 CEST 2005
hi siva,
On Mon, Jun 20, 2005 at 10:13:57AM -0700, Nellurandi, Sivakumar wrote:
> I am finding some difficulties for having the check_swap plugin worked
> in SUN Solaris operating system. Can you please provide me the working
> version source code of the check_swap plugin?
sorry for the late reply, i've been afk for the last week or two, and
i don't think anyone else here seems to have much to say about
check_swap it seems.
> printf (_("\n\
> On Solaris, if -a specified, uses swap -l, otherwise uses swap -s.\n\
> Will be discrepencies because swap -s counts allocated swap and
> includes\n\
> real memory\n"));
> printf (_("\n\
> On AIX, if -a is specified, uses lsps -a, otherwise uses lsps -s.\n"));
>
> The above print statements clearly state that omitting the "-a" argument
> to the plugin uses "swap -s" command on Solaris and "lsps -s" command on
> AIX.
> But in the code we did not find a similar execution of "swap -s" command
> for Solaris. Could you point out where the execution of "swap -s"
> command takes place.
my guess is that this usage information is outdated, and that swap -s is
not executed at all, because iirc the solaris check_swap heavily (or
perhaps exclusively) favors usage of the swapctl library routines
instead of executing the cmdline program.
sean
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://nagios-plugins.org/archive/devel/attachments/20050625/f62f21ae/attachment.sig>
More information about the Devel
mailing list