Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Process Monitoring Script

by Marcello (Hermit)
on Jan 20, 2002 at 02:35 UTC ( [id://140142]=note: print w/replies, xml ) Need Help??


in reply to Process Monitoring Script

To check whether a certain process is still running, use:
my $alive = (kill 0 => $pid);
I personally use this to check on running processes from the crontab, and restart them if this check fails.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://140142]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (7)
As of 2024-04-23 20:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found