locked_user sundialsvc4 has asked for the wisdom of the Perl Monks concerning the following question:
Okay, I’m working with AIX and Perl 10.5.0. And what I need, very quick-n-easy, is a program that can spawn n child processes, snooze until one of them finishes, gather status, update a database, launch another child. (These are all processes, each of which might run for five hours straight.)
The main bit of business is ... I really don’t want to have to think too much about how to launch, watch, and wait-for child processes. I’d really love to be able to start out tomorrow morning by picking a CPAN module, spend the morning configuring the thing (and building-out the rest of it, very minimally) and I am limping along (at least) by tomorrow afternoon. Things like “update a database” are not my primary concern here. Watching a (small-n) number of child-processes for hours on end and “doin’ all the usual schtick without having to code much of it” ... is.
Basically, we have been trying to use a “task spooler” program, ts, and the thing just isn’t working reliably. It “falls dead,” although the spawned processes continue to survive out there (for a while). People spend hours watching them, and updating Excel spreadsheets by hand. aargh... Let’s just say that I do not want to find myself obliged to become one of those people. And of course, the misbehavior of ts, which was never an ideal arrangement, is a running disaster just waiting to be stomped flat by a Camel.
Quick ’n easy process-watching, environment=AIX, yours-truly=very experienced. Main goal=lazy and quick, plug the dike. Off-the-cuff suggestions?
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Bein' lazy: need a child-process monitor, quick 'n fast
by BrowserUk (Patriarch) on Oct 19, 2010 at 02:57 UTC | |
|
Re: Bein' lazy: need a child-process monitor, quick 'n fast
by zentara (Cardinal) on Oct 19, 2010 at 16:30 UTC | |
|
Re: Bein' lazy: need a child-process monitor, quick 'n fast
by aquarium (Curate) on Oct 19, 2010 at 03:41 UTC | |
|
Re: Bein' lazy: need a child-process monitor, quick 'n fast
by locked_user sundialsvc4 (Abbot) on Oct 19, 2010 at 18:00 UTC |