<br><br>
<div><span class="gmail_quote">On 10/3/05, <b class="gmail_sendername">Jerry Geis</b> <<a href="mailto:geisj@pagestation.com">geisj@pagestation.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Is there a way to tell through /proc or something else which<br>files a process has open and more importantly what position the read
<br>pointer is in for that open file?<br><br>As an example if I am reading a file with a program I have no control over,<br>and I kill that program, I need to know when in the data file that<br>program was<br>reading at that time.
<br><br>Is this information available and if so how to read it?</blockquote>
<div> </div>
<div>ls -l /proc/$pid/fd</div>
<div> </div>
<div>Cheers...james</div><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Thanks,<br><br>Jerry<br>_______________________________________________<br>CentOS mailing list<br><a href="mailto:CentOS@centos.org">
CentOS@centos.org</a><br><a href="http://lists.centos.org/mailman/listinfo/centos">http://lists.centos.org/mailman/listinfo/centos</a><br></blockquote></div><br>