How to find open file offset
Hi all,
I have a program that takes a long time processing a large file. I am running it on SLES 10 (kernel 2.6.16.60). The process will most probably read the file from start to end. Is there a way to find out where the process currently is - like file offset?
lsof has "-o" option. But I read in some forums that it does not work on Linux. Does anybody know of any other way?
Thank you,
Abhijit
|