1832423 Members
3261 Online
110042 Solutions
New Discussion

Re: lsof

 
SOLVED
Go to solution
Mohammad Kaleem
Advisor

lsof

Hi,

Can any one help me to install and compile lsof for HP-UX 11.00 system?

thanks and regards,
Mohammad
MKQ
8 REPLIES 8
Michael Tully
Honored Contributor

Re: lsof

You can get it here. You can use 'swinstall' to install it once you have downloaded it.

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

Here is a rough summary on usage.

lsof -p pid
lsof -u uid
lsof -i tcp:80
Anyone for a Mutiny ?
Franky_1
Respected Contributor

Re: lsof

Hi,

you can download a already prcompiled version of lsof for HP-UX 11.00 from

http://hpux.cs.utah.edu/

Regards

Franky
Don't worry be happy
Michael Tully
Honored Contributor

Re: lsof

Here are some better examples.

To which files are open for a given process id (pid)

# lsof -p

To see all the open files associated with a particular command.

# lsof -c midaemon

User name.

# lsof -u
# lsof -u

processes being used via a socket.

# lsof -i tcp:23
# lsof -i udp:123

Michael
Anyone for a Mutiny ?
Robert-Jan Goossens
Honored Contributor

Re: lsof

Attached a lsof.tar.gz file for 11.00 64 bits.

Regards,
Robert-Jan
Petr Simik_1
Valued Contributor

Re: lsof

You dont need to compile, just download&install depot.

http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/ls
of-4.71/
sivakumar_8
Advisor

Re: lsof

HI,

You can try this!!
SIVA-HPS-PUB
Franky_1
Respected Contributor
Solution

Re: lsof

Hi,

what do you think of assining points for the people who helped you out ?

Regards

Franky
Don't worry be happy
Mohammad Kaleem
Advisor

Re: lsof

Hi all,
Thank to all for your comments and help.

Franky, I was travelling and couldn't test the recomended solutions. Today I am back in the office and would try to test it.

Thank you and best regards,

Mohammad
MKQ