Re: Checking Perl processes (process.monitor is not suitable)

2001-08-31 Thread Stephane Bortzmeyer
On Fri, Aug 31, 2001 at 10:18:48AM +0200, Stephane Bortzmeyer <[EMAIL PROTECTED]> wrote a message of 15 lines which said: > The only solution I see is to write my own monitor which will check > host.hrSWRun.hrSWRunTable.hrSWRunEntry.hrSWRunParameters and will test > it against its list (it als

RE: Checking Perl processes (process.monitor is not suitable)

2001-08-31 Thread Laurent Combe
ne- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]De la part de Stephane Bortzmeyer Envoye : vendredi 31 aout 2001 10:19 A : [EMAIL PROTECTED] Cc : [EMAIL PROTECTED] Objet : Checking Perl processes (process.monitor is not suitable) I wish to check that a particular process is running. The ob

Re: Checking Perl processes (process.monitor is not suitable)

2001-08-31 Thread Stephane Bortzmeyer
On Fri, Aug 31, 2001 at 12:53:44PM +0100, Alex David Shadrach Hooper <[EMAIL PROTECTED]> wrote a message of 13 lines which said: > How about putting "$0 = 'foobar';" at the top of your Perl > script? Because it doesn't work. Test it if you don't believe me. (FreeBSD 4.1.1, both ps and snmpd c

Checking Perl processes (process.monitor is not suitable)

2001-08-31 Thread Stephane Bortzmeyer
I wish to check that a particular process is running. The obvious solution is: "Use process.monitor". But the Net-SNMP's prTable only stores the name of the executable and can only check it (on the "proc" directives of snmpd.conf), not the full command-line. Which means that I can check that 'ss