The stupid question is the question not asked | |
PerlMonks |
Can I see how long a process has been running?by soffen (Acolyte) |
on Sep 30, 2002 at 16:14 UTC ( [id://201754]=perlquestion: print w/replies, xml ) | Need Help?? |
soffen has asked for the wisdom of the Perl Monks concerning the following question:
If I know the process id (PID) of a process that is (or should be) running (like a script that takes 3 to 5 or more minuts to run), can I use it in a seperate script (like, haveing the process write its PID to a file, and having the other script open the file and read the PID) to check how long that process has been running and/or if it is still running? if so, how?
Back to
Seekers of Perl Wisdom
|
|