How about not posting this to the database related list?
On 3/20/06, Bogdan Surdu <[EMAIL PROTECTED]> wrote:
> Hi,
>
> On 3/20/06, Rob W. <[EMAIL PROTECTED]> wrote:
> > Heres what i'm trying to do.
> >
> > $proc=exec('ps aux | grep proc');
> >
>
> Try 'ps aux | grep proc | grep -v grep' to remove
Hi,
On 3/20/06, Rob W. <[EMAIL PROTECTED]> 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.n
Heres what i'm trying to do.
$proc=exec('ps aux | grep proc');
if ($proc != "") {
echo "True";
}
if ($proc == "") {
echo "False";
}
but some time's it show's the ps aux so I dont get a true reading. Anybody have
a way that I might be able to extract this out of there to get a true reading