Operating System - HP-UX
1834395 Members
5243 Online
110066 Solutions
New Discussion

installing lsof 4.72 questions

 
SOLVED
Go to solution
Peter Gillis
Super Advisor

installing lsof 4.72 questions

Hi, op sys=ux11i v1.
I would like to install lsof on our system and have been to the gatekeep.cs.utah.edu site. I have located the losf 4.72 but not sure which files I should be downloading (naive, yep, but gotta try).There is reference to ux11iv1 - where you download a binary depot; and there is reference to HPUX where you download source code. Which is the better option?
I had a further look into the binary depot - says to ensure bison flex gcc gettext libiconv and m4 are installed too. So if these are not installed then lsof not work. (I know this sounds pretty obvious but I just want to check I am understanding this properly, and I'm afraid this is the only place available to me for help) Then lists instructions:
./configure hpuxgcc (this is optional)
gmake (to compile)
./lsof (to test as root)
gmake install ( to install as root)

You probably would not want to install lsof as any other user because then when run lsof you would not have the permissions to get info about ports on the system. Is that correct thinking?

Thanks for info in advance.
Maria.
2 REPLIES 2
Michael Tully
Honored Contributor
Solution

Re: installing lsof 4.72 questions

Hi Maria,

Not sure why you would want to compile it, when there is a perfectly binary depot you can download and and install with 'swinstall'.

Go here and download.
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.72/
(HP-UX 11i V1 http download)
ftp to your hpux server
gunzip the depot file
use swinstall to install it.

See here on how to use it.
http://forums1.itrc.hp.com/service/forums/parseCurl.do?CURL=%2Fcm%2FQuestionAnswer%2F1%2C%2C0x8729c4c76f92d611abdb0090277a778c%2C00.html&admit=716493758+1097119140814+28353475

Not sure why you would want any other users to have the privilege of running it, although you can view your own processes etc.

Regards
Michael
Anyone for a Mutiny ?
Peter Gillis
Super Advisor

Re: installing lsof 4.72 questions

Tahnks for the info Michael.i dont really want other users to use lsof, really I wanted to understand how permissions worked with it. That's only because I saw mention of setting other users up for it. Anyway, you have cleared things up for me. Thanks.