1833920 Members
8259 Online
110063 Solutions
New Discussion

files with processes

 
SOLVED
Go to solution
Jay Cantwell
Regular Advisor

files with processes

I know there is a command to list a file that has all the processes that are running against it. I'll be darned if I can remember, can someone help me out please ??

Jay
5 REPLIES 5
Kent Ostby
Honored Contributor
Solution

Re: files with processes

Jay -- The command you are looking for is "fuser".

Best regards,

Kent M. Ostby
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
Robert-Jan Goossens
Honored Contributor

Re: files with processes

Steven E. Protter
Exalted Contributor

Re: files with processes

fuser works against mounted filesystems. It will only show processes against filesystems shown on a bdf display.

lsof is an "unsupported" add in that you download and install yourself. I just went and got and compiled myself a version last week. It seems quite interesting.

Here is where to download it. The depot version did not work for me. 11.11, so I went with the source code.

When the web site comes back up.
http://hpux.cs.utah.edu/

search for lsof

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Robert-Jan Goossens
Honored Contributor

Re: files with processes

Dario_1
Trusted Contributor

Re: files with processes

Jay:

lsof is the command but like everyone mentioned you will have to download it.

Regards,

DR