[Xymon] File Handles

Galen Johnson Galen.Johnson at sas.com
Fri Aug 7 19:35:35 CEST 2015


It's been a long time since I worked on Solaris but there might even be a way to do it with dtrace.  There was a link for doing something similar using lsof but that required a bit more work.

=G=

________________________________________
From: Deiss, Mark <Mark.Deiss at xerox.com>
Sent: Friday, August 7, 2015 12:03 PM
To: Nick at pettefar.com; Galen Johnson
Cc: xymon
Subject: RE: [Xymon] File Handles

Have an external that uses "sar" to figure out the number of open file handles. It has stanzas for Linux and HPUX; if your Solaris box has sar then should be able to add a Solaris stanza.

Basically uses "sar -v 5 2" and processes the last line; 3rd field for linux, 8th field for hpux.

If you want the external, can send it to you off list. It may be malingering as a Big-Brother module on the Dell/Quest/Big-Brother/defunct-deadcat repository. You may also find other modules there that can be modified for your requirements.

-----Original Message-----
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Nick Pettefar
Sent: Friday, August 07, 2015 11:28 AM
To: Galen Johnson
Cc: xymon; Nick Pettefar
Subject: Re: [Xymon] File Handles

Sorry, it will be most likely used under Solaris 10/11.

Regards,

Nick


On 7 August 2015 at 16:04, Galen Johnson <Galen.Johnson at sas.com> wrote:
> You'll likely need to write your own test based on this (assuming this is linux):
>
> http://unix.stackexchange.com/questions/66235/how-to-display-open-file
> -descriptors-but-not-using-lsof-command
>
> =G=
>
> ________________________________________
> From: Xymon <xymon-bounces at xymon.com> on behalf of Nick Pettefar
> <Nick at pettefar.com>
> Sent: Friday, August 7, 2015 10:48 AM
> To: xymon
> Subject: [Xymon] File Handles
>
> Hi, is there a way to monitor file handle usage - how many open files
> against the maximum allowed, by any chance? - just had a request from
> a user for this and couldn't find a reference in the documentation or
> the Google thing.
>
> Regards,
>
> Nick
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon
_______________________________________________
Xymon mailing list
Xymon at xymon.com
http://lists.xymon.com/mailman/listinfo/xymon



More information about the Xymon mailing list