Operating System - HP-UX
1753288 Members
5556 Online
108792 Solutions
New Discussion юеВ

Re: where can i get some help about lsof?

 
SOLVED
Go to solution

where can i get some help about lsof?

thanks .
5 REPLIES 5
Patrick Wallek
Honored Contributor
Solution

Re: where can i get some help about lsof?

What kind of help? More details would be helpful if you have a specific problem.

The lsof man page is good. Just doing an 'lsof -?' at the command line will give you some help.

Here's a link to the man page for lsof from the http://hpux.connect.org.uk site:

http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.73/man.html

Here's the general page the lsof 4.73:
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.73/
Sridhar Bhaskarla
Honored Contributor

Re: where can i get some help about lsof?

Hi,

What help do you need?. Getting the binaries?.

http://the-other.wiretapped.net/security/host-security/lsof/binaries/hpux/

Choose what version and bitness you want.

Man page with good examples are here

http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.73/man.html

The above site also has binaries but I am not sure if they work.

Simple usage : see all the processes that are using a filesystem

lsof /filesystem > /tmp/filesystem.out

find the process corresponding to the tcp port 8088

lsof -i tcp:8088

-Sri
You may be disappointed if you fail, but you are doomed if you don't try

Re: where can i get some help about lsof?

but when i use lsof in my os(b2000/hpux 11.0)
it said:
command not find.
and man lsof :
it also not find any thing.
need i to install something?
Sridhar Bhaskarla
Honored Contributor

Re: where can i get some help about lsof?

'lsof' is not a built-in OS command. You will need to install it seperately. Look at the above sites. You can download lsof from them. Install it and use it. It usually gets installed under /opt/lsof/bin directory.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Wade Vail
New Member

Re: where can i get some help about lsof?

Could you possibly be referencing LOFS - (local file system)?