Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jun 2002 15:10:50 +0200
From:      Thomas Quinot <thomas@cuivre.fr.eu.org>
To:        Doug Hardie <bc979@lafn.org>
Cc:        stable@FreeBSD.ORG
Subject:   Re: NIS server status
Message-ID:  <20020612151050.A68356@melusine.cuivre.fr.eu.org>
In-Reply-To: <f05111b39b92cab4fd542@[10.0.1.90]>; from bc979@lafn.org on Wed, Jun 12, 2002 at 12:44:32AM -0700
References:  <20020609201909.J7944-100000@woozle.rinet.ru> <f05111b39b92cab4fd542@[10.0.1.90]>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020612151050.A68356>