I have a large process (~300MB) which has been running for about 24hrs.
It's a program I wrote which does some complex manipulations for an
experiment. Trouble is, I don't know whether it is almost finished or
stuck in an infinite loop somewhere. I had commented out the code
that prints out where it is up to.

So, I need some way of looking at the memory of the process to figure
out how much work has been done without killing it. Like a core dump
on the fly.

I tried cat /proc/12345/mem but it doesn't work.

Any ideas?

Cheers,
-- 
Carl Cerecke, Assistant Lecturer|email:      [EMAIL PROTECTED]
Department of Computer Science, |Phone:      +64 3 364 2987 ext. 7859 
University of Canterbury,       |Fax:        +64 3 364 2569           
Private Bag 4800,               |http://www.cosc.canterbury.ac.nz/~cdc
Christchurch, New Zealand.      |

Reply via email to