Operating System - HP-UX
1833748 Members
2974 Online
110063 Solutions
New Discussion

FILE DESCRIPTORS (NUMBER OF OPEN FILES)

 
SOLVED
Go to solution
sheevm
Regular Advisor

FILE DESCRIPTORS (NUMBER OF OPEN FILES)

Hi

Is there a way to findout number of file descriptor a process is using?

hpux 11i v2---rp8420

Thanks
Rajim
be good and do good
3 REPLIES 3
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: FILE DESCRIPTORS (NUMBER OF OPEN FILES)

Glance can tell you this or you can use the lsof command.
If it ain't broke, I can fix that.
James R. Ferguson
Acclaimed Contributor

Re: FILE DESCRIPTORS (NUMBER OF OPEN FILES)

Hi Rajim:

One way is to use 'glance'; select the process of interest and toggle 'F' to see open files.

Regards!

...JRF...
Jaime Bolanos Rojas.
Honored Contributor

Re: FILE DESCRIPTORS (NUMBER OF OPEN FILES)

Rajim,

If I recall fine lsof have the capability of doing what you want:

http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.77/

Regards,

Jaime.

Work hard when the need comes out.