1754355 Members
4627 Online
108813 Solutions
New Discussion юеВ

lsof

 
SOLVED
Go to solution
Animesh Chakraborty
Honored Contributor

lsof

Hi All,
I have seen lot of people talk about lsof here.
I too tried but getting following error:
#lsof
lsof: FATAL: lsof was built for a 32 bit kernel, but this
is a 64 bit kernel.


Anybody using it on 64 bit ?

Thanks in Advance
Animesh

Did you take a backup?
9 REPLIES 9
Stefan Farrelly
Honored Contributor

Re: lsof


You need to download the source and compile it as 64bit as the version on the HP download sites is 32bit. Alternatively you can install the 32bit version then replace the binary with the 64bit version attached here which ive already built.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Santosh Nair_1
Honored Contributor

Re: lsof

lsof is very kernel specific. I would recommend that you download the source from ftp://vic.cc.purdue.edu/pub/tools/unix/lsof and compile. Its very easy.

-Santosh
Life is what's happening while you're busy making other plans
Animesh Chakraborty
Honored Contributor

Re: lsof

Hi Stefan,
I am unable to open your attachment.
Is it becuase of you logged in at UK site and we are at USA/Asia Pacific site ?
Or some problem at this forum ?
Any way thanks for prompt reply.

Regards
Animesh
Did you take a backup?
Stefan Farrelly
Honored Contributor

Re: lsof


Yes, usual problem with US/Europe sites. Put your email in a reply and I will email it to you.
Im from Palmerston North, New Zealand, but somehow ended up in London...
harry d brown jr
Honored Contributor

Re: lsof

I've been running lsof on hpux 11i for quite a while now, and I did not compile a thing.

Here is the hpux 11i version of lsof:

http://www.wiretapped.net/security/host-security/lsof/binaries/hpux/B.11.11/lsof_4.58.gz

For other versions of hpux (10.20 and 11.00), use:

http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.55/



Live Free or Die
Santosh Nair_1
Honored Contributor

Re: lsof

I've attached a 64-bit version of lsof. This executable works fine on my 11.0 machine. Let me know if you have problems with it.

-Santosh
Life is what's happening while you're busy making other plans
Animesh Chakraborty
Honored Contributor

Re: lsof

Hi Santosh,
Could not download your attachment.
I get only one long line of junk characters.


Thanks
Animesh

animesh.chakraborty@eds.com

Did you take a backup?
Eugen Cocalea
Respected Contributor

Re: lsof

Hi animesh,

You can get the source code for lsof-4.55 at

http://hpux.tn.tudelft.nl/ftp/hpux/Sysadmin/lsof-4.55/lsof-4.55-ss-11.00.tar.gz

(or mirrors) and then compile it on your machine.

E.
To Live Is To Learn
Stefan Farrelly
Honored Contributor
Solution

Re: lsof

Hi Animesh,

just emailed you the 64bit lsof binary. Its gzipped, just unzip it and replace your lsof binary with this one.

Cheers,

Stefan
Im from Palmerston North, New Zealand, but somehow ended up in London...