Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1002742]
[ww]: ++ambrus "their browser died just when...."
[ambrus]: ww: or they accidentally closed the window, or something. the exact excuse doesn't matter.
[ambrus]: you hear that on web forums frequently.
LanX Fermat 's famous browser
[ww]: ambrus agree; got the t-shirt, et al

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (17)
As of 2017-03-23 18:18 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (292 votes). Check out past polls.