[Top][All Lists]

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

multiple pids

From: Marc Petitmermet
Subject: multiple pids
Date: Wed, 19 Apr 2006 09:10:22 +0200

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]