1833051 Members
2349 Online
110049 Solutions
New Discussion

lsof on HP ??

 
Ron Cornwell
Trusted Contributor

lsof on HP ??

I have a programmer who has come from a sun background who would like to use a command like lsof on solaris. The command lists files and sockets opened by a process. I have found a copy of it on the HPUX porting site but would like to know if there is anything by default already on HPUX. Thanks in Advance.
7 REPLIES 7
Alex Glennie
Honored Contributor

Re: lsof on HP ??

no I use lsof and find it the best tool for the job.
Alexander M. Ermes
Honored Contributor

Re: lsof on HP ??

Hi there.
It is not a standard tool, but you can get it for HP-UX. And it is a good tool.
http://hpux.asknet.de
Rgds
Alexander M. Ermes
.. and all these memories are going to vanish like tears in the rain! final words from Rutger Hauer in "Blade Runner"
Alex Glennie
Honored Contributor

Re: lsof on HP ??

The netstat -an command will show active ports as well of the state of the socket but not as useful as lsof and glance too maybe of some limiited use ? It comes with a 60 day trial license, whereas lsof is free
Thierry Poels_1
Honored Contributor

Re: lsof on HP ??

hi,
you have already found THE default tool at THE default site ;-)
regards,
Thierry.
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
sajesh patil
Occasional Contributor

Re: lsof on HP ??

In my opinion, lsof is the best program, u no need to search for any other tool....

Cheers...
Satish.
A. Clay Stephenson
Acclaimed Contributor

Re: lsof on HP ??

Hi Ron:

There is no delivered component that comes close to the utility of lsof. The bad news is that if you need a 64-bit version (the 32-bit version will not run on 64-bit 11x) you will need to download the source and compile/link it. This is not a difficult task. The 32-bit binaries are available from the Porting Centers.

Regards, Clay
If it ain't broke, I can fix that.
Wodisch
Honored Contributor

Re: lsof on HP ??

Hello Ron,

if you prefer to get your (64bit-) copy of "lsof" from a
CDROM issued by HP, get the ITO/VPO/OVO CDROM
and look into "/opt/OV/contrib/OpC/". There are both
the 32bit- and the 64bit-lsof.

HTH,
Wodisch