Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Process Management script

by blue_cowdawg (Monsignor)
on Nov 07, 2012 at 20:48 UTC ( #1002742=note: print w/ replies, xml ) Need Help??


in reply to Process Management script

      Basically what I am wanting is to have a script where all my processes are stored,

eh? not sure what you mean by that.....

      then I want a number of other scripts to just connect to this process manager script to run the processes that it needs to

Why? Why not just have the "number of other scripts" invoke the processes as needed? If you are concerned about starting multiple instances of the same process of some reason why not search the process table and see if it is already running? In some cases there should be a lock file you could look at.

The information you have failed to provide:

  • What's the environment? *nix? Winbloze? VMS? Atari?
  • What kind of processes are they? Daemons? Filters? Elvis?
  • What's the rationale for managing the processes in the first place?
and answers to those questions might lead to others.


Peter L. Berghold -- Unix Professional
Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg


Comment on Re: Process Management script

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2014-09-23 01:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (210 votes), past polls