Operating System - HP-UX
1834744 Members
2883 Online
110070 Solutions
New Discussion

Re: file descriptors on HPUX

 
SOLVED
Go to solution
Brian Killeen_1
Advisor

file descriptors on HPUX

Howdy All,

Does anyone know how to find the number of free file descriptors on HPUX?

Short and sweet

Brian
4 REPLIES 4
James Beamish-White
Trusted Contributor

Re: file descriptors on HPUX

Hi,

I have heard that lsof can monitor file descriptors, though I have never used it for such. Try taking a look at http://www.cert.org/security-improvement/implementations/i042.05.html and reading a bit about it.

Cheers,
James
GARDENOFEDEN> create light
Roger Baptiste
Honored Contributor

Re: file descriptors on HPUX

hi,

Get into glance -> press t (for tables)
and look at nfiles usage. Nfiles is the number of files which can be opened system-wide.

-raj
Take it easy.
Carlos Fernandez Riera
Honored Contributor
Solution

Re: file descriptors on HPUX

run sar -v 5 5.

unsupported
Brian Killeen_1
Advisor

Re: file descriptors on HPUX

Thanks to James, Rajman & Carlos for their help - The lsof is interesting and the glance does give the nfiles value - But if you want fast info on what is open the sar -v 5 5 is the quickest action - Cheers all