[Top][All Lists]

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

Re: multiple pids

From: Mike Pepe
Subject: Re: multiple pids
Date: Wed, 19 Apr 2006 13:59:06 -0400
User-agent: Thunderbird 1.5 (Windows/20051201)

Graham, Jonathan wrote:
Hmmm...I was thinking about writing something for this.  Quicktime
Streaming Server for OSX has the same behavior only they are delimited
by <CR>.


-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf
Of Marc Petitmermet
Sent: Wednesday, April 19, 2006 3:10 AM
To: address@hidden
Subject: multiple pids

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?


And while we're at it, what would be required to correctly handle those weird daemons that make their pid's negative?


reply via email to

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