Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Keeping track of children from previous runs of a script

by Illuminatus (Curate)
on Mar 10, 2011 at 17:40 UTC ( [id://892461]=note: print w/replies, xml ) Need Help??


in reply to Re: Keeping track of children from previous runs of a script
in thread Keeping track of children from previous runs of a script

I think salva's first option is the best way to go. If you are really paranoid about PID-wrap, you could put the executable name in the file along with the PID. Then, if you determine that the PID is active, you can use a variety of methods to determine the executable name and match that as well.

fnord

  • Comment on Re^2: Keeping track of children from previous runs of a script

Replies are listed 'Best First'.
Re^3: Keeping track of children from previous runs of a script
by salva (Canon) on Mar 10, 2011 at 18:00 UTC
    ajwood, note also that the methods described in my post are not mutually exclusive. Actually, it is quite common to combine the first two.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (1)
As of 2024-04-25 19:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found