[CentOS] /proc process information on centos 4.1
James Olin Oden
james.oden at gmail.com
Tue Oct 4 13:53:21 UTC 2005
On 10/3/05, Jerry Geis <geisj at 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
> 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
> CentOS mailing list
> CentOS at centos.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the CentOS