1826425 Members
3709 Online
109692 Solutions
New Discussion

Re: lsof for 64 bit

 
Travis Harp
Advisor

lsof for 64 bit

I'm looking for a .depot that was compiled for a 64 bit processor.
Does anyone have a link to where I can obtain it?
I'm trying to avoid having to complile the source files on all of my boxes.
Eagles may soar but weasels don't get sucked into jet engines.
7 REPLIES 7
Hazem Mahmoud_3
Respected Contributor

Re: lsof for 64 bit

Travis Harp
Advisor

Re: lsof for 64 bit

That particular one is for the 32 bit OS. I installed it and it gives me an error to that effect.

It there anything that can be done to run a 32 bit utility under a 64 bit OS or am I destined to have to recompile this on every box?
Eagles may soar but weasels don't get sucked into jet engines.
Tom Ward_1
Honored Contributor

Re: lsof for 64 bit

I had trouble with the one from the porting center. It for a 32-bit. But follow the home link on that page to
ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/binaries/hpux

I think you can get a binary that'll work for 64-bit there.

If you leave the pagkage installed, it will show corrupt when you check it with
"swlist -l fileset -a state", but you can use swmodify to force it to configured. I like to keep the package for the man page.

Regards,
Tom
Hazem Mahmoud_3
Respected Contributor
Chris Watkins_1
Respected Contributor

Re: lsof for 64 bit

I agree with getting the source and compiling it yourself.
Shouldn't have to compile but once, however.

I ran into a similar problem when we moved from 11.0 to 11.i.
I just compiled lsof once, and copied it all around.
No need to go through the trouble of compiling for
every machine you own, unless you just want to.
Worst case, compile once per type... but I have the same
binary we compiled on an A class, running on N's and L's just fine.


Not without 2 backups and an Ignite image!
Stuart Abramson_2
Honored Contributor

Re: lsof for 64 bit

You can get download it from:

http://hpux.connect.org.uk
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.67/
http://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/lsof/binaries/hpux/B.11.11/
http://the-other.wiretapped.net/security/host-security/lsof/binaries/hpux/B.11.11/
ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/binaries/hpux/B.11.11/

7. The hpux 11.0 and 11i versions are different.

8. The 11i version may download as "lsof_4.69.gz", but really be the
binary file with the ".gz" suffix attached.

a. Here is how you tell:

# ll lsof*

-rw-r----- 1 root wab 131072 Oct 23 10:20 lsof_4.69.gz <= bin
-rw-r----- 1 root wab 131072 Oct 23 10:47 lsof_4.69.gz.Z <= bin
-rw-r----- 1 root wab 67753 Oct 23 10:53 lsof_4.69_2.gz <= gz

b. So, just:

mv lsof_4.69.gz lsof
chmod u+x lsof

and you're good!

Fabio Ettore
Honored Contributor

Re: lsof for 64 bit

Hi Travis,

do you want lsof (64 bit) yet?
I could give you it, its version is older (4.63) but I think that it will work for your purposes.

Best regards,
Ettore
WISH? IMPROVEMENT!