SEO

vBulletin Search Engine Optimization


Go Back   Unix Technical Forum > Unix Operating Systems > HP-UX Operating System

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-17-2008, 06:03 AM
Ht
 
Posts: n/a
Default lsof

....has anyone used this tool? wondering how accurate it is on HPUX
11.11i.
I ran it but it lists alot of IPv4 ports listed as *.* and IDLE.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-17-2008, 06:03 AM
Alain
 
Posts: n/a
Default Re: lsof

Ht a écrit :
> ...has anyone used this tool? wondering how accurate it is on HPUX
> 11.11i.
> I ran it but it lists alot of IPv4 ports listed as *.* and IDLE.

We use it a lot at work.
If you see wrong result, try recompiling it since lsof go into private
internal kernel structures.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-17-2008, 06:03 AM
Ht
 
Posts: n/a
Default Re: lsof

On Nov 25, 6:46 am, Alain <[email protected]> wrote:
> Ht a écrit :> ...has anyone used this tool? wondering how accurate it is on HPUX
> > 11.11i.
> > I ran it but it lists alot of IPv4 ports listed as *.* and IDLE.

>
> We use it a lot at work.
> If you see wrong result, try recompiling it since lsof go into private
> internal kernel structures.


This is bizarre.
So i rebuilt it on the machine i'm running it. When i run it, it says
the application is holding multiple (in the order of 10) file
discriptors to IDLE ports as well as a particular configuration file
and curiously directories as well !!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-17-2008, 06:03 AM
Ht
 
Posts: n/a
Default Re: lsof

Does this describe multiple open files or the same one? They point to
the same device and some node name...

COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
java 2264 root 208u REG 64,0x5 3079 38214 /opt
(/dev/vg00/lvol5)
java 2264 root 209u REG 64,0x5 3079 38214 /opt
(/dev/vg00/lvol5)
java 2264 root 210u REG 64,0x5 3079 38214 /opt
(/dev/vg00/lvol5)
java 2264 root 211u REG 64,0x5 3079 38214 /opt
(/dev/vg00/lvol5)
java 2264 root 212u REG 64,0x5 3079 38214 /opt
(/dev/vg00/lvol5)
java 2264 root 213u REG 64,0x5 3079 38214 /opt
(/dev/vg00/lvol5)
java 2264 root 214u REG 64,0x5 3079 38214 /opt
(/dev/vg00/lvol5)
java 2264 root 215u REG 64,0x5 3079 38214 /opt
(/dev/vg00/lvol5)

On Nov 25, 8:43 am, Ht <[email protected]> wrote:
> On Nov 25, 6:46 am, Alain <[email protected]> wrote:
>
> > Ht a écrit :> ...has anyone used this tool? wondering how accurate itis on HPUX
> > > 11.11i.
> > > I ran it but it lists alot of IPv4 ports listed as *.* and IDLE.

>
> > We use it a lot at work.
> > If you see wrong result, try recompiling it since lsof go into private
> > internal kernel structures.

>
> This is bizarre.
> So i rebuilt it on the machine i'm running it. When i run it, it says
> the application is holding multiple (in the order of 10) file
> discriptors to IDLE ports as well as a particular configuration file
> and curiously directories as well !!


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-17-2008, 06:03 AM
Alain
 
Posts: n/a
Default Re: lsof

Ht a écrit :
> Does this describe multiple open files or the same one? They point to
> the same device and some node name.