1830935 Members
2002 Online
110017 Solutions
New Discussion

File Open

 
augusto cossa
Frequent Advisor

File Open

Good Day,

Which command should be issued to determine the number of files opned with all proccess running in the server? (HP-UX 10.20)

Thanks,

A Cossa
6 REPLIES 6
Andreas Voss
Honored Contributor

Re: File Open

Hi,

a good utility for listening open files is:
lsof
You can get it here:
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.48/
Andy Monks
Honored Contributor

Re: File Open

No command is standard. However, lsof can do it :-

http://hpux.cs.utah.edu/ftp/hpux/Sysadmin/lsof-4.48
Alex Glennie
Honored Contributor

Re: File Open

I believe there maybe 2 contenders : HP's glance has example adviser scripts which will help print this info out or you can just use the GUI to view them : it comes with a 60 day trial license on the application CD's.

Or you can use a utility called lsof (list open files) downloaded from many academic ftp sites etc... just run a quick search on the web ...you should find lots of links to get the binaries .
Marcel Boon
Trusted Contributor

Re: File Open

Hi Augusto,

I agree with Alex, try Glance Plus trial version, with this diagnostic and performance tool you see this information what you need and a lot of more, you can find it on Application cd1.
This program gives you an overview of process-level, system-level and application -level and a lot more....
The attachment give you some information about this tool.
See the man pages
Scott Pattinson
Occasional Advisor

Re: File Open

If you just want to know the total number of open files: sar -v 1
lsof and glance will give more info on what has what open etc.
Alan Riggs
Honored Contributor

Re: File Open

Ah -- Scott beat me to it, but he is correct.

Sar, it's an oldie but a goodie. Easy to use, easy to script.