1834594 Members
3817 Online
110069 Solutions
New Discussion

about lsof

 
Platinum
Occasional Advisor

about lsof

In our server, I can not use the lsof with the following error message:
"lsof: FATAL: lsof was built for a 32 bit kernel, but this is a 64 bit kernel."
It seems the lsof in our machine do not support 64 bit kernel.
Would somebody tell me is there a 64 bit version of lsof? where can I download it?
10 REPLIES 10
Arturo Perez del Galleg
Frequent Advisor

Re: about lsof

Jochen Heuer
Respected Contributor

Re: about lsof

Hi,

have a look here: http://www.wiretapped.net/security/host-security/lsof/binaries/hpux/B.11.11/

Regards,

Jochen
Well, yeah ... I suppose there's no point in getting greedy, is there?
Arturo Perez del Galleg
Frequent Advisor

Re: about lsof

To known if the executable is 32 or 64 bit:
file /usr/local/bin/lsof
(or your path)
HTH
Jochen Heuer
Respected Contributor

Re: about lsof

Hi Arturo,

the link you posted is for the 32bit version (although the version number is 4.*64* :-))

Regards,

Jochen
Well, yeah ... I suppose there's no point in getting greedy, is there?
T G Manikandan
Honored Contributor

Re: about lsof

Download lsof for 64 bit from

check the lsof for 64 bit here

ftp://coast.cs.purdue.edu/pub/tools/unix/sysutils/lsof/binaries/hpux/


Thanks
Arturo Perez del Galleg
Frequent Advisor

Re: about lsof

Hi Jochen!
Sorry, but i don't understand why you say the version is 32 bits, since the source of software is present on the link!
With If you compile the source the version is on 32 or 64 bits, that depends on your OS. It isn't correct?
Platinum
Occasional Advisor

Re: about lsof

I have tried "ftp://coast.cs.purdue.edu/pub/tools/unix/sysutils/lsof/binaries/hpux/" and also "http://www.wiretapped.net/security/host-security/lsof/binaries/hpux/B.11.11/" (it seems that they are the same). But failed, in swinstall, I got an error message "lsof_4.66": An I/O error occurred while performing this task."
Michael Tully
Honored Contributor

Re: about lsof

Try to ftp it from here:

ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/
Anyone for a Mutiny ?
Rajeev  Shukla
Honored Contributor

Re: about lsof

Hi look at this forum where i had posted the solution
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x1ece7680e012d71190050090279cd0f9,00.html

or here is a part of it and it works.

Download the source code
lsof-4.64-ss-11.00.tar.gz
uncompress and untar it.
go to lsof-4.64 directory and run ./configure hpux
it will ask few questions keep answering and (don't do inventory check) select default for ease.
then run "make" this process will create a file called lsof in the same directory.
Use this file it will definately work.
I tried this on 64 bit kernel on 11.11

Cheers
Rajeev

T G Manikandan
Honored Contributor

Re: about lsof