cancel
Showing results for 
Search instead for 
Did you mean: 

lsof tool

SOLVED
Go to solution
S.S.
Super Advisor

lsof tool

Hi All,

Our's is 11i v1 hp-ux box.

we don't have lsof tool for port-process relationship.

Is there any depot to download or else we have to purchase from HP ?

Thanks you all.

Please reply me as soon.

Regards
Swetha




16 REPLIES
Johnson Punniyalingam
Honored Contributor

Re: lsof tool

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=366467
Problems are common to all, but attitude makes the difference
R.K. #
Honored Contributor
Solution

Re: lsof tool

Hello Swetha..

Lsof utility can be downloaded from:

http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.82/

Regds..
Don't fix what ain't broke
Johnson Punniyalingam
Honored Contributor

Re: lsof tool

http://mirrors.develooper.com/hpux/downloads.html
Problems are common to all, but attitude makes the difference
S.S.
Super Advisor

Re: lsof tool

HI R.K.

I have downloaded the lsof-4.82 to my pc and i uploaded this binary file into my server.

Now, if i simply execute this file can it works ?


Regards
Swetha
Dennis Handly
Acclaimed Contributor

Re: lsof tool

>if I simply execute this file can it works?

It should. You may have to be root to look at other processes. You do have to know the syntax. There should be a man page with lsof.
R.K. #
Honored Contributor

Re: lsof tool

Hi Swetha..

If the format of the software is .depot.gz, then you have to:

- Unzip it first ("gzip -d" or "gunzip"), eg. # gunzip lsof*.gz
- Then you will get software in ".depot" format.
- Then may have to register the depot (swreg -l ),
- Use "swinstall" to install. eg. # swinstall -s lsof_full_name
Don't fix what ain't broke
R.K. #
Honored Contributor
sujit kumar singh
Honored Contributor

Re: lsof tool

hi


i assume that you have downloaded lsof-4.82-hppa-11.11.depot.gz

say that it is in /tmp

you need to do the following

cd /tmp
gunzip lsof-4.82-hppa-11.11.depot.gz

you shall get lsof-4.82-hppa-11.11.depot


swinstall this one

swinstall -s /tmp/lsof-4.82-hppa-11.11.depot


the swinstall screeen opens up, then using tab and spacebar select the lsof product, itshall get highlighted.

with the lsof product on the window hoghlighted, press alt, go to actions , install,after you see "Ready to Install" proceed ok .. after install press done,you shall get that installed.


exit from the swinstall screen.

do

whereis lsof

the path should be whereis lsof
lsof: /usr/local/bin/lsof /usr/local/man/man8/lsof.8



that is

/usr/local/bin/lsof

regards
sujit
S.S.
Super Advisor

Re: lsof tool

Hi R.K.

If i install this depot to my server, will it make any errors and also it has been released on April, 2009.

Actually, HP proposed a quotation for lsof tool charging 9000 sing dollars.

May i know the reason why HP has been quoted this as this depot is available to download from the sites ?
R.K. #
Honored Contributor

Re: lsof tool

>> will it make any errors
Errors related to what?
If installed properly, you will not get any errors.

>> HP proposed a quotation for lsof tool charging 9000 sing dollars
I believe this is a free tool.
Don't fix what ain't broke
Dennis Handly
Acclaimed Contributor

Re: lsof tool

>If I install this depot to my server, will it make any errors and also it has been released on April, 2009.

It should work fine if you use the 11.11 one.

>HP proposed a quotation for lsof tool charging 9000 sing dollars. May I know the reason why HP has been quoted this as this depot is available to download from the sites?

For $6,487 USD, you should ask them directly.
S.S.
Super Advisor

Re: lsof tool

Hi,

Mine is 11i/64bit kernel.

This depot works on this ?

and May i know anyone is using this depot ?


Thanks & Regards
Swetha
S.S.
Super Advisor

Re: lsof tool

Also, is it requires any reboot after successfully installation ?


Regards
Swetha
Johnson Punniyalingam
Honored Contributor

Re: lsof tool

>>Also, is it requires any reboot after successfully installation ? <<<<

NO -> it does not requires any reboot
Problems are common to all, but attitude makes the difference
Dennis Handly
Acclaimed Contributor

Re: lsof tool

>Mine is 11i/64bit kernel.

11i doesn't tell us anything. Just about all supported kernels are 64 bit.

>This depot works on this?

Why not go ahead and install? You're spending more time asking than doing.
S.S.
Super Advisor

Re: lsof tool

Thank you!