Operating System - HP-UX
1849787 Members
2720 Online
104044 Solutions
New Discussion

Re: lsof for HP-UX 11 with 64bit kernel

 
Ngoh Chean Siung
Super Advisor

lsof for HP-UX 11 with 64bit kernel

Hi,

Where I can get this software? I search thru the internet and found that there are a lot. I can see some need to be compiled. Why? Is it compulsory? Any recommendation website or attached software?

May I know the steps to install lsof as well?

regards.
11 REPLIES 11
lawrenzo
Trusted Contributor

Re: lsof for HP-UX 11 with 64bit kernel

lawrenzo
Trusted Contributor

Re: lsof for HP-UX 11 with 64bit kernel

the readme file doesn't actually explain anything!

but read the below thread as there is alot of information for the 2 types of lsof files;

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=187859
hello
Ngoh Chean Siung
Super Advisor

Re: lsof for HP-UX 11 with 64bit kernel

Hi,

I try to unzip it and get the below error message:

# gunzip lsof_4.73.gz

gunzip: lsof_4.73.gz: not in gzip format

Any ideas?

regards.
lawrenzo
Trusted Contributor

Re: lsof for HP-UX 11 with 64bit kernel

sorry I have not tried this software but found it when I searched the internet.

try doing this:

# gpg --verify lsof_4.73.sig lsof_4.73.gz

i got this from one of the downloads

if you still have no luck then here is a great site for lsof and other good software for itrc members;

http://www.cmve.net/~merijn/

hello
lawrenzo
Trusted Contributor

Re: lsof for HP-UX 11 with 64bit kernel

we have it installed and attached is the version we use - gunzip should work on this.

hello
Ngoh Chean Siung
Super Advisor

Re: lsof for HP-UX 11 with 64bit kernel

Hi,

# gpg --verify lsof_4.73.sig lsof_4.73.gz
sh: gpg: not found.

fyi, I just download lsof_4.73.gz

The website that u provided required user name and password during ftp the file.

I also cannot save your attached and the error message is "This page is not found".
Can u pls attach once again?

regards.
Jannik
Honored Contributor

Re: lsof for HP-UX 11 with 64bit kernel

http://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/lsof/binaries/hpux/

gzip -d lsof_4.73.gz
chmod 755 lsof_4.73

./lsof_4.73

I have just tested it and it works! Hope it does for you.

Best Regards!

jaton
Ngoh Chean Siung
Super Advisor

Re: lsof for HP-UX 11 with 64bit kernel

Hi,

Still same error for me.

# gzip -d lsof_4.73.gz

gzip: lsof_4.73.gz: not in gzip format

fyi, I download this file to my local hard disk first and then ftp to the server. Any wrong for my steps?

regards
Jannik
Honored Contributor

Re: lsof for HP-UX 11 with 64bit kernel

This is a binay file so do the following:

ftp
user : anonymous
passwd : your@mail.com

cd dir
bin
get file

jaton
Ngoh Chean Siung
Super Advisor

Re: lsof for HP-UX 11 with 64bit kernel

Hi,

My step is ftp from my pc to server. So, I used put command. I already set bin during ftp but still same error.

Any idea?
Jannik
Honored Contributor

Re: lsof for HP-UX 11 with 64bit kernel

try to do it directly from the server. I don't know what windows does to the the file (I'm using linux). You could try to extract the file with a windows tool, to see if the file is corrupted before the put to the server.

I would go for the direct connect with ftp.
jaton