Sergey Zaharchenko wrote:
Hello Eric!
Mon, Dec 12, 2005 at 10:04:51AM -0600 you wrote:
I was wondering if someone could explain why it is sometimes there and
not other times.
Sometimes the ps process manages to catch the system state when grep has
not been started yet by the shell. Sometim
Hello Eric!
Mon, Dec 12, 2005 at 10:04:51AM -0600 you wrote:
> I was wondering if someone could explain why it is sometimes there and
> not other times.
Sometimes the ps process manages to catch the system state when grep has
not been started yet by the shell. Sometimes it doesn't.
> And how I
On 2005-12-12 10:04, Eric Schuele <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I am sure this is quite trivial, but...
>
> I have need to determine if an app (firefox, or anything really) is
> already running before I perform some action. So I grep the ps output.
> However sometimes (many times) that
Kirk Strauser wrote:
On Monday 12 December 2005 10:16, Alex Zbyslaw wrote:
ps | egrep firefox | egrep -v egrep
Ouch! Replace that with:
ps | grep "[f]irefox"
Ah, yes. Very nice. Thanks.
which will never match the grep commandline itself.
--
Regards,
Eric
Alex Zbyslaw wrote:
Eric Schuele wrote:
Hello,
I am sure this is quite trivial, but...
I have need to determine if an app (firefox, or anything really) is
already running before I perform some action. So I grep the ps
output. However sometimes (many times) that which I'm searching for
is
On Monday 12 December 2005 10:16, Alex Zbyslaw wrote:
> ps | egrep firefox | egrep -v egrep
Ouch! Replace that with:
ps | grep "[f]irefox"
which will never match the grep commandline itself.
--
Kirk Strauser
The Day Companies
___
freebsd-questio
Eric Schuele wrote:
Hello,
I am sure this is quite trivial, but...
I have need to determine if an app (firefox, or anything really) is
already running before I perform some action. So I grep the ps
output. However sometimes (many times) that which I'm searching for
is present in the outpu
On Mon, December 12, 2005 11:04 am, Eric Schuele wrote:
> Hello,
>
> I am sure this is quite trivial, but...
>
> I have need to determine if an app (firefox, or anything really) is
> already running before I perform some action. So I grep the ps output.
> However sometimes (many times) that whic
Hello,
I am sure this is quite trivial, but...
I have need to determine if an app (firefox, or anything really) is
already running before I perform some action. So I grep the ps output.
However sometimes (many times) that which I'm searching for is present
in the output because I am present