Hello,
I am interested in finding out how many file descriptors are used by a PID.
I have just downloaded lsof, executed lsof -p <PID> and got a lot of lines like this:
java 38104 root 362w VREG 52,24 1175061037 0 /home/tonline (/dev/fslv01)
In reference to man:
COMMAND: java
PID: 38104
OWNER: root
FileDescriptorNumberAndMode:362w (write)
TYPE: VREG (virtual REGular file)
DEVICE: 52,24 (ls -l /dev | grep "52, 24*": /dev/fslv01)
SIZE/OFF: 1175061037
INODE: 0
MountPointAndDevice: /home/tonline (/dev/fslv01)
I would be pleased to know which the meaning of Inode 0 is. According to UNIX, Inode is such a equivalence between a file a zone of the filesystem where stores Creation/Access/Modification Time, permissions, but not the filename.
If I try:
istat -i 0 /home/tonline
My screen shows:
#istat 0 /home/tonline
Inode 0 on device 52/24 Archivo
Protección: ---------
Propietario: 0(root) Grupo: 0(system)
Número de enlaces: 1 Longitud 0 bytes
Ultima actualización: ma feb 06 10:31:29 2007
Ultima modificación: ma feb 06 10:31:29 2007
Ultimo acceso: ma feb 06 10:31:29 2007
Punteros de bloque (hexadecimal):
Many thanks in advance for your help.
I am interested in finding out how many file descriptors are used by a PID.
I have just downloaded lsof, executed lsof -p <PID> and got a lot of lines like this:
java 38104 root 362w VREG 52,24 1175061037 0 /home/tonline (/dev/fslv01)
In reference to man:
COMMAND: java
PID: 38104
OWNER: root
FileDescriptorNumberAndMode:362w (write)
TYPE: VREG (virtual REGular file)
DEVICE: 52,24 (ls -l /dev | grep "52, 24*": /dev/fslv01)
SIZE/OFF: 1175061037
INODE: 0
MountPointAndDevice: /home/tonline (/dev/fslv01)
I would be pleased to know which the meaning of Inode 0 is. According to UNIX, Inode is such a equivalence between a file a zone of the filesystem where stores Creation/Access/Modification Time, permissions, but not the filename.
If I try:
istat -i 0 /home/tonline
My screen shows:
#istat 0 /home/tonline
Inode 0 on device 52/24 Archivo
Protección: ---------
Propietario: 0(root) Grupo: 0(system)
Número de enlaces: 1 Longitud 0 bytes
Ultima actualización: ma feb 06 10:31:29 2007
Ultima modificación: ma feb 06 10:31:29 2007
Ultimo acceso: ma feb 06 10:31:29 2007
Punteros de bloque (hexadecimal):
Many thanks in advance for your help.