Operating System - HP-UX
1832227 Members
2650 Online
110041 Solutions
New Discussion

Re: using lsof instead of fuser and building the binary

 
Richard Woolley
Frequent Advisor

using lsof instead of fuser and building the binary

Hi,

I was told that the command "lsof" is better than fuser. however I went to download it and it mentions that I must use the correct version which seemed like HP-UX 11 32bit.
I have HP-UX 11 64bit (mainly) heres what it said:

" Note that the binary releases of lsof on this archive will ONLY run on OS release they were compiled on and will run on 32-bit HP-UX only. If you have any other release of HP-UX, you must build lsof yourself from the source code. "

so I downloaded the source code, what would be my procedure to successfully install it?

5 REPLIES 5
eran maor
Honored Contributor

Re: using lsof instead of fuser and building the binary

HI

you can download it from : http://hpux.cs.utah.edu/

you can download the source and compile it for the system .
love computers
harry d brown jr
Honored Contributor

Re: using lsof instead of fuser and building the binary

I've had no problem donwloading and using the binaries for 10.20, 11.0, and 11.11. Have you tried this site:

http://the.wiretapped.net/security/host-security/lsof/binaries/hpux/
Live Free or Die
Richard Woolley
Frequent Advisor

Re: using lsof instead of fuser and building the binary

ok, so now Ive d/loaded moved it to HPUX box, gunzipped and untar'd it. I have a load of .c files now and not coming from a programming background am unsure as what to do now?

how do i comile this and then fit it as part of my O/S?
Edgar Matzinger
Advisor

Re: using lsof instead of fuser and building the binary

Hi Mark,

is there a file called "configure"? If so, run it (./configure), followed by make. If there is only a file called "Makefile", or "makefile", just run make. If you do not have an ANSI C compiler, and "make" does not compile properly, you have to install gcc (or buy HP's ANSI C compiler) first.

HTH, cu l8r, Edgar.
Richard Woolley
Frequent Advisor

Re: using lsof instead of fuser and building the binary

I d/loaded and installed binutils, which was a prerequisite for gcc. and downloaded gcc. reading about how to install it, it said run ./configure then make. the configure seemed to finish, however the make output (and it was going on forever) stopped saying that it had run out of memory ?
this machine has 1152Mb of memory???
whats going on?