Re: Finding a process in *nix
| From: | Bogdan Surdu | Date: | Mon, 20 Mar 2006 14:33:54 +0000 |
| Subject: | Re: Finding a process in *nix | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-41549@lists.php.net to get a copy of this message | ||
Hi,
On 3/20/06, Rob W. <rob@fiberuplink.com> wrote:
> Heres what i'm trying to do.
>
> $proc=exec('ps aux | grep proc');
>
Try 'ps aux | grep proc | grep -v grep' to remove your grep process
from the list.
Tim
---
Living is easy with the eyes closed.