Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Nov 2006 21:31:32 +0000
From:      "N.J. Mann" <njm@njm.f2s.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Checking processes without PIDs
Message-ID:  <20061127213132.GB674@ariel.njm.f2s.com>
In-Reply-To: <2365.65.117.48.155.1164660366.squirrel@admintool.trueband.net>
References:  <2365.65.117.48.155.1164660366.squirrel@admintool.trueband.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon 27 Nov 20:46, jhall@vandaliamo.net wrote:
> I have written a script to determine if processes are running.  I am
> using, as an example,
> 
> ps -ax | grep -c postgrey

Are you aware of pgrep(1) ?


Cheers,
       Nick.
-- 




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