1834499 Members
2514 Online
110068 Solutions
New Discussion

lsof depot

 
SOLVED
Go to solution
Hubert Feller
Advisor

lsof depot

Hi

Where can I find a depot for lsof which runs on HP-UX 11i (64bit!)? I always get the message:
lsof: FATAL: lsof was built for a 32 bit kernel, but this is a 64 bit kernel.
9 REPLIES 9
Fabio Ettore
Honored Contributor
Solution

Re: lsof depot

Hi,

I had the same problem but then I got it.
Just

# gunzip lsof-4.63.1111.gz
# chmod +x lsof-4.63.1111

Best regards,
Ettore
WISH? IMPROVEMENT!
Joseph Loo
Honored Contributor

Re: lsof depot

hi,

as stated in my earlier mail started by Graham, try this:

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

i use the version meant for HP-UX 11.00 and it works on my server running HP-UX 11i 64-bit.

regards.
what you do not see does not mean you should not believe
Sunil Sharma_1
Honored Contributor

Re: lsof depot

Hi,


I think this may help

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

Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
Hubert Feller
Advisor

Re: lsof depot

Buongiorno Ettore

Thank you very much for your quick response which helped me to solve this problem!

I have played a lot with lsof 4.69 (including compiling the source) but never got it to work for whatever reason.

Thanks everybody for their efforts to help me.

Have a nice day

Peter
Fabio Ettore
Honored Contributor

Re: lsof depot

Very good Peter....your italian language too! ;-)

I agree with you: I tried billion times to compile lsof source code downloaded from HP-UX Porting but the result always was a failure. Then I searched out the HP-UX world in order to obtain lsof for 64 bit and at last got it.

Joseph,
I don't know if lsof for HP-UX 11.00 works for HP-UX 11.i 64 bit and I cannot try it.
Anyway I think problem is about 32 or 64 bit of lsof tool. Is lsof for HP-UX 11.00 for 32 or 64 bit?

Have a nice day Peter and all!
Ettore
WISH? IMPROVEMENT!
Todd Whitcher
Esteemed Contributor

Re: lsof depot

I always get the latest version from Purdue University:

Here is the Readme:
All lsof support for HP-UX 11.11 is PSTAT-based. (See the 00FAQ
file in the lsof distribution for an explanation.) The lsof binary
mode is 32 bits, and it uses -D_PSTAT64 to acquire kernel information
via pstat(2) in 64 bit mode.

Here is the ftp site:

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

Re: lsof depot

Hi Todd

I have read this also, but I don't know how to interprete it. If a program queries the kernel mode of my unix-machine for me it doesn't necessarily mean that it won't work on my machine. That's why I tried to compile it on my own box. Does it mean I need to install additional software packages on my computer to make it work?
Pete Randall
Outstanding Contributor

Re: lsof depot

Todd/Peter,

I believe that this means that you can use the 32 bit version of lsof on a 64 bit 11i kernel. The same is not true for the 11.0 version.


Pete

Pete
Hubert Feller
Advisor

Re: lsof depot

Pete

unfortunately I didn't get lsof_4.69 to work on my 11i 64bit machine.
I got version 4.63 from Ettore which works perfectly. In the meantime I also found version 4.64 which works as well. So what's wrong with 4.69?