Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Nov 2006 16:25:24 -0800
From:      Brian <bri@sonicboom.org>
To:        jhall@vandaliamo.net
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: Checking processes without PIDs
Message-ID:  <456B81F4.20609@sonicboom.org>
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
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
>
> Ocassionally, I am receiving a notification a process is not running (and
> it varies which process I receive notifications for).  And, when checking,
> the process actually is running.
>
> Is there a better way to determine if a process is running than using ps
> and grep?
>
> Thanks,
>
>
>
> Jay
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>   
Does ps auxwww work ?

Brian



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