[CLUE-Tech] Detecting a running process (from script)

David Anselmi anselmi at americanisp.net
Wed Oct 2 08:09:24 MDT 2002


Sean LeBlanc wrote:
> I remember (quite a few meetings back) where detecting a running process was
> being discussed. I think someone or someones mentioned a flag for either ps
> or grep in which it would reliably filter out the "ps | grep foo". Ring any
> bells? 

If you're looking for the process id, you can use pgrep.

Dave




More information about the clue-tech mailing list