On 10/3/05, Jerry Geis <geisj@pagestation.com> wrote:
Is there a way to tell through /proc or something else which
files a process has open and more importantly what position the read
pointer is in for that open file?

As an example if I am reading a file with a program I have no control over,
and I kill that program, I need to know when in the data file that
program was
reading at that time.

Is this information available and if so how to read it?
 
ls -l /proc/$pid/fd
 
Cheers...james

Thanks,

Jerry
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos