From owner-freebsd-stable Wed Jun 12 6:11:40 2002 Delivered-To: freebsd-stable@freebsd.org Received: from melchior.cuivre.fr.eu.org (melchior.enst.fr [137.194.161.6]) by hub.freebsd.org (Postfix) with ESMTP id 648E337B407 for ; Wed, 12 Jun 2002 06:11:33 -0700 (PDT) Received: from melusine.cuivre.fr.eu.org (melusine.enst.fr [137.194.160.34]) by melchior.cuivre.fr.eu.org (Postfix) with ESMTP id B804C7A90; Wed, 12 Jun 2002 15:11:05 +0200 (CEST) Received: by melusine.cuivre.fr.eu.org (Postfix, from userid 1000) id 222882C3D1; Wed, 12 Jun 2002 15:10:50 +0200 (CEST) Date: Wed, 12 Jun 2002 15:10:50 +0200 From: Thomas Quinot To: Doug Hardie Cc: stable@FreeBSD.ORG Subject: Re: NIS server status Message-ID: <20020612151050.A68356@melusine.cuivre.fr.eu.org> Reply-To: thomas@cuivre.fr.eu.org References: <20020609201909.J7944-100000@woozle.rinet.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: ; from bc979@lafn.org on Wed, Jun 12, 2002 at 12:44:32AM -0700 X-message-flag: WARNING! Using Outlook can damage your computer. 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 Le 2002-06-12, Doug Hardie écrivait : > 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? -- Thomas.Quinot@Cuivre.FR.EU.ORG To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message