Checking processes without PIDs
bri at sonicboom.org
Mon Nov 27 21:35:32 PST 2006
jhall at 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?
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
Does ps auxwww work ?
More information about the freebsd-questions