[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GWorkspace - App Wrappers - some observations
From: |
Pete French |
Subject: |
Re: GWorkspace - App Wrappers - some observations |
Date: |
Tue, 23 Jul 2002 22:12:56 +0100 |
> 2. Change the 'is netscape running?' test from:
>
> ps -c | fgrep -q $NETSCAPE_NAME
>
> to:
>
> ps -C $NETSCAPE_NAME | fgrep -q $NETSCAPE_NAME
??????????
from man 1 ps:
-C Change the way the cpu percentage is calculated by using a
``raw'' cpu calculation that ignores ``resident'' time (this nor-
mally has no effect).
-bat. [god knows what the best way to do it is though...]