[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: multiple pids

From: Jan-Henrik Haukeland
Subject: Re: multiple pids
Date: Wed, 19 Apr 2006 20:03:59 +0200

Usually one of those processes are the control-process and you only need to monitor, start and stop that one. It's probably the one with the lowest pid of the eights. Test by sending this process the SIGTERM signal to check if it takes down the rest.

Jan-Henrik Haukeland

On 19. apr. 2006, at 09.10, Marc Petitmermet wrote:

Dear List Members

How should I deal with a pid file containing multiple pids? E.g. nfsd starts with 8 independent daemons. I grab the pids with the "pidof" command at start and write them to /var/run/ This file contains now 8 pids, space delimited. As I have seen so far, monit cannot deal with such a pid file.

I could write 8 individual pid files but can monit deal with
"check process nfsd with pidfile /var/run/nfsd[1-8].pid"
or should I just write 8 times almost the same thing?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]