Operating System - HP-UX
1838315 Members
3039 Online
110125 Solutions
New Discussion

Re: Curent system parameters

 
Gumeni
Contributor

Curent system parameters

How can I know what is the current number of open files and locks in the system.
I don't have glance.
OS is HP-UX 11.00
Thank you
3 REPLIES 3
Alex Glennie
Honored Contributor

Re: Curent system parameters

there's a utility called lsof : list open files thats available from : http://hpux.connect.org.uk/ etc that should help

sof-4.51

List files, sockets, etc opened by processes. Also gives a large amount of other related information. Can select by process ID, username or
filename. It is a complete redesign of the fstat/ofiles utilities. This release now has lots of additions and bug fixes including support for HP-UX 11.X.
Note that the binary releases of lsof on this archive will ONLY run on OS release they were compiled on and will run on 32-bit HP-UX only. If
you have any other release of HP-UX, you must build lsof yourself from the source code.
Wodisch
Honored Contributor

Re: Curent system parameters

Hello Gumeni,
you have the tools already installed: sar(1M) is able to
tell you all you ask for - "sar -v 1 10" shows ten times
in one second breaks the current and possible amount
of processes and open files (but NOT inodes! that one
is not a table, but a cache).
'Read the man-page for "sadc(1M)"!
HTH,
Wodisch
Bo Thide'
Occasional Advisor

Re: Curent system parameters

Do 'man fuser' to learn about the
command 'fuser' which list processes using a file or file structure.
Computers in science