Re: Finding a process in *nix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On 3/20/06, Rob W. <rob@xxxxxxxxxxxxxxx> 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.

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux