Checking processes without PIDs

N.J. Mann njm at njm.f2s.com
Mon Nov 27 13:35:23 PST 2006


On Mon 27 Nov 20:46, 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

Are you aware of pgrep(1) ?


Cheers,
       Nick.
-- 



More information about the freebsd-questions mailing list