/proc process information on centos 4.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 10/3/05, Jerry Geis <geisj@xxxxxxxxxxxxxxx> 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@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.centos.org/pipermail/centos/attachments/20051004/2fdaf42b/attachment.htm

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux