vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hello, i look with glance to the open files of one process: 0 /dev/pts/152 stream rd/wr 3 415686 1 /dev/pts/152 stream rd/wr 3 415686 2 /dev/pts/152 stream rd/wr 3 415686 3 /home/dlc83e/promsgs reg read 1 11988 4 unix /var/spool/sockets/pwgr/client20636 socket rd/wr 1 0 5 /home/dlc83e/convmap.cp reg read 1 301088 6 <reg,vxfs,/home,/dev/vg00/lvol8,inode:15431> reg rd/wr 1 0 43 <reg,vxfs,/home,/dev/vg00/lvol8,inode:15592> reg rd/wr 1 122240 44 /home/V89.11/lib/prog.pl reg read 1 241200773 Which are files Nr. 6 and 43 ? Stefan |
| |||
| On Tue, 20 Apr 2004 15:59:39 +0200, Stefan M. <stefan.marqNOSPAMuardt@hagebau.de> wrote: >Hello, > >i look with glance to the open files of one process: > > 0 /dev/pts/152 stream rd/wr 3 >415686 > 1 /dev/pts/152 stream rd/wr 3 >415686 > 2 /dev/pts/152 stream rd/wr 3 >415686 > 3 /home/dlc83e/promsgs reg read 1 >11988 > 4 unix /var/spool/sockets/pwgr/client20636 socket rd/wr 1 >0 > 5 /home/dlc83e/convmap.cp reg read 1 >301088 > 6 <reg,vxfs,/home,/dev/vg00/lvol8,inode:15431> reg rd/wr 1 >0 > 43 <reg,vxfs,/home,/dev/vg00/lvol8,inode:15592> reg rd/wr 1 >122240 > 44 /home/V89.11/lib/prog.pl reg read 1 >241200773 > > >Which are files Nr. 6 and 43 ? > >Stefan > The names are just not handy in the inode cache, so you have to look for them yourself. First, do a "bdf" to see what the mount point is for /dev/vg00/lvol8. Then, "cd" to that directory, and do a "find" command with the "-inum" option, looking for the inodes of interest. Something like: cd <somewhere> find . -inum 15431 -print Of course, if you do that now, it may or may not be the same file; the file could have been removed and the inode reused by now. Steve |
| ||||
| On Tue, 20 Apr 2004 10:01:10 -0700, Steve Cooper <scooper@allegro.com> wrote: >First, do a "bdf" to see what the mount point is for /dev/vg00/lvol8. >Then, "cd" to that directory, and do a "find" command with the "-inum" >option, looking for the inodes of interest. Something like: > > cd <somewhere> > find . -inum 15431 -print > >Of course, if you do that now, it may or may not be the same file; the >file could have been removed and the inode reused by now. That was my first try but i only get files with this number on other filesystems. (I started find on / to get all Inodex with this number on all filesystems) Seems to be a unlinked file .. Stefan |