Operating System - HP-UX
1834458 Members
3039 Online
110067 Solutions
New Discussion

lsof binary for hpux 11.23 64bit PARISC

 
SOLVED
Go to solution
Rodney Hills
Honored Contributor

lsof binary for hpux 11.23 64bit PARISC

Anyone have a compiled version of "lsof" for hpux 11.23 in 64 bit mode for PA-Risc they could send me.

Thanks in Advance...

-- Rod Hills
There be dragons...
18 REPLIES 18
RAC_1
Honored Contributor

Re: lsof binary for hpux 11.23 64bit PARISC

Rodney Hills
Honored Contributor

Re: lsof binary for hpux 11.23 64bit PARISC

Thanks RAC for the site, but I after I downloaded it, the README stated no binaries, lsof should be recompiled.

I was looking for a "compiled" binary since I don't have a real "c" compiler on my HP.

-- Rod Hills
There be dragons...
RAC_1
Honored Contributor

Re: lsof binary for hpux 11.23 64bit PARISC

RAC_1
Honored Contributor

Re: lsof binary for hpux 11.23 64bit PARISC

Rodney Hills
Honored Contributor

Re: lsof binary for hpux 11.23 64bit PARISC

RAC, it looks like the 11.23 version is for the Itanium archeticure. I'm looking for PA-Risc.

-- Rod Hills
There be dragons...
lawrenzo_1
Super Advisor

Re: lsof binary for hpux 11.23 64bit PARISC

try this one ........

http://people.freebsd.org/~abe/
hello
Ermin Borovac
Honored Contributor

Re: lsof binary for hpux 11.23 64bit PARISC

lsof compiles without any problems on 11.11 using *bundled* C compiler. You may be able to do the same for 11.23.
Rodney Hills
Honored Contributor

Re: lsof binary for hpux 11.23 64bit PARISC

I tried compiling using the "bundled" c, but alas too many errors.

I'm looking for anyone who already has compiled lsof and has the binary ready.

-- Rod Hills
There be dragons...
Rodney Hills
Honored Contributor

Re: lsof binary for hpux 11.23 64bit PARISC

Anybody have a "compiled" version of lsof?

This is such an important tool, I'm thinking of reinstalling 11.11 back.

-- Rod Hills
There be dragons...
Pete Randall
Outstanding Contributor

Re: lsof binary for hpux 11.23 64bit PARISC

Rod,

I would double check the first link that Anil gave you:

http://the-other.wiretapped.net/security/host-security/lsof/NEW/lsof_4.75C.hpux.tar.gz

Despite what the README says, I know that in the past, the download was an actual binary.


Pete

Pete
Rodney Hills
Honored Contributor

Re: lsof binary for hpux 11.23 64bit PARISC

I downloaded it again. The tar restore created a folder whose contents included a log of .c and .h files and instructions on how to compile, but I could find no binaries...

-- Rod Hills
There be dragons...
Pete Randall
Outstanding Contributor

Re: lsof binary for hpux 11.23 64bit PARISC

Darn! Sorry, Rod.

Here's some other sites that might have something:

http://www.unixguide.net/hp/faq/5.10.4.shtml


Pete

Pete
Pete Randall
Outstanding Contributor

Re: lsof binary for hpux 11.23 64bit PARISC

Rodney Hills
Honored Contributor

Re: lsof binary for hpux 11.23 64bit PARISC

The binary that was out there was for 11.11 and I get the following error if I try to run it.

# ./lsof_4.74
lsof_4.74.gz: WARNING: compiled for HP-UX release B.11.11; this is B.11.23.
Illegal instruction(coredump)

I feel so alone on 11.23 :-(

-- Rod Hills
There be dragons...
Ermin Borovac
Honored Contributor
Solution

Re: lsof binary for hpux 11.23 64bit PARISC

Here's lsof 4.74 binary. It's been compiled on 11.23 box.
Bill Hassell
Honored Contributor

Re: lsof binary for hpux 11.23 64bit PARISC

If you check with the author's website, you'll see that it is always recommended to compile lsof on the target machine. There are apparently too many unique values in a 64bit kernel related to patches and configuration. That's why copies from other machines may or may not work or core dump.


Bill Hassell, sysadmin
Rodney Hills
Honored Contributor

Re: lsof binary for hpux 11.23 64bit PARISC

Thanks Ermin, it runs great.

Bill, I saw all the recommendation about recompiling, but without a real compiler I'm sort of stuck. I can see with the way lsof hooks into the OS that recompiling would be prudent.

-- Rod Hills
There be dragons...
Rodney Hills
Honored Contributor

Re: lsof binary for hpux 11.23 64bit PARISC

Thanks all
There be dragons...