From owner-freebsd-stable Thu Jun 13 21: 4: 7 2002 Delivered-To: freebsd-stable@freebsd.org Received: from zoon.lafn.org (zoon.lafn.org [206.117.18.9]) by hub.freebsd.org (Postfix) with ESMTP id 356E837B415 for ; Thu, 13 Jun 2002 21:04:05 -0700 (PDT) Received: from [10.0.1.90] (66-81-79-169-modem.o1.com [66.81.79.169]) by zoon.lafn.org (8.11.3/8.11.3) with ESMTP id g5E43uG71875; Thu, 13 Jun 2002 21:03:57 -0700 (PDT) (envelope-from bc979@lafn.org) Mime-Version: 1.0 X-Sender: bc979@mail.lafn.org Message-Id: In-Reply-To: <20020612151050.A68356@melusine.cuivre.fr.eu.org> References: <20020609201909.J7944-100000@woozle.rinet.ru> <20020612151050.A68356@melusine.cuivre.fr.eu.org> Date: Thu, 13 Jun 2002 21:03:10 -0700 To: thomas@cuivre.fr.eu.org From: Doug Hardie Subject: Re: NIS server status Cc: stable@FreeBSD.ORG Content-Type: text/plain; charset="iso-8859-1" ; format="flowed" Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 15:10 +0200 6/12/02, Thomas Quinot wrote: >Le 2002-06-12, Doug Hardie =E9crivait : > >> ypbind, to not create a pid file. I have a process that periodically >> checks the important server pid files and makes sure the process is >> still allive. It then pages me if the process has died. That would >> be really helpful for ypserv and ypbind if they would create a pid >> file once they are up and running correctly. > >Why not use something along the line of: > ps ax|grep ypserv|grep -v grep > /dev/null || ypserv >from a crontab entry? Most servers create a pid file. It would be nice for there to be consistency in this. -- -- Doug To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message