1836648 Members
1860 Online
110102 Solutions
New Discussion

File use by process

 
SOLVED
Go to solution
Sanjay Tailor
Frequent Advisor

File use by process

Hello,
Is there a way to see the files used by a particular process on the system? I have HP-UX 10.20 on a D-box.
Thank you.
4 REPLIES 4
melvyn burnard
Honored Contributor
Solution

Re: File use by process

The GLANCE product will allow you to pick a process, and then see the open files on that specific process, as well as memory useage etc.

You should have a TRIAL version of Glance on your OS cd's.
HTH
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Sachin Patel
Honored Contributor

Re: File use by process

Hi
The other way if you know the file you can user command "fuser".

Sachin
Is photography a hobby or another way to spend $
Sachin Patel
Honored Contributor

Re: File use by process

The other way, If you know the file you can use command fuser

Sachin
Is photography a hobby or another way to spend $
ESC Team
Advisor

Re: File use by process

Try "lsof"
gatekeep.cs.utah.edu

Just search for lsof. It's a compressed depot file. Installed to /opt/lsof.

/opt/lsof/bin/lsof -? gives all the options you'll ever need.

Greg

greg_farrelly@aus.hp.com
ESC Team