[nSLUG] EXT3 missing log file

Bill Davidson billdavidson at eastlink.ca
Wed Feb 10 01:47:46 AST 2010


Also, if you do "ls -l /proc/<pid>/fd" you will see the entry pointing
to the file, with "(deleted)" next to the file name.

On Tue, 2010-02-09 at 15:37 -0400, John Stanton wrote:
> thanks a lot :)
> 
> John Stanton, RHCE
> john at stantonnet.org
> 
> 
> On 02/09/2010 03:33 PM, Ben Armstrong wrote:
> > On Tue, 09 Feb 2010 15:17:46 -0400
> > John Stanton<john at stantonnet.org>  wrote:
> >    
> >> Anyone happen to know which file?
> >>      
> > Look under fd.  There will be a limited number of file descriptors to
> > check, so just look through them until you find something looking like
> > your file. In my testfile example, lsof identified the cat process as
> > pid 12523, so:
> >
> > synrg at lear:~$ cat /proc/12523/fd/1
> > blah
> >
> > It's file descriptor 1 in this case because it is stdout.  For you, it
> > may be different, depending on whether stdout was redirected to the
> > file, or it was opened separately.
> >
> > Ben
> > --
> >   ,-.  nSLUG    http://www.nslug.ns.ca   synrg at sanctuary.nslug.ns.ca
> >   \`'  Debian   http://www.debian.org    synrg at debian.org
> >    `          [ gpg 395C F3A4 35D3 D247 1387 2D9E 5A94 F3CA 0B27 13C8 ]
> > _______________________________________________
> > nSLUG mailing list
> > nSLUG at nslug.ns.ca
> > http://nslug.ns.ca/mailman/listinfo/nslug
> >    
> _______________________________________________
> nSLUG mailing list
> nSLUG at nslug.ns.ca
> http://nslug.ns.ca/mailman/listinfo/nslug




More information about the nSLUG mailing list