Thread: lsof
View Single Post

   
  #6 (permalink)  
Old 01-17-2008, 06:03 AM
Ht
 
Posts: n/a
Default Re: lsof

I see what you mean Alain. They point to a file that has been
deleted...but i thought i'd see one of them not the dozens i'm
seeing...which I'm trying to explain. I actually see the number
increasing over time. I'm almost wondering if I've got a leak in some
file reader.

On Nov 25, 10:15 am, Alain <ota1...@hotmail.com> wrote:
> Ht a écrit :
>
> > 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)

>
> Same inode: 38214 which is a directory (/opt). In my opinion, nothing to
> worry about.
> Try "ls -lid /opt" to get /opt'inode.
> lsof is useful to find which process is listening at a port; we use it
> also to find removed huge file but still hold by a process,...


Reply With Quote