[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: shell script problem
Ze'ev Maor wrote:
> see that sometimes you get 2 lines of output - i.e. the grep actually
> started running while the ps was running - and sometimes you'll only get
> one, depends on load average/cpu scheduling.)
The pnserver always has two processes running, so $numps < 2 always works if it
includes the grep or not.
I do /usr/local/pnserver/checkpn and it doesn't *do* anything. And I did chmod
+x it. But if I cd to /usr/local/pnserver and then run ./checkpn it runs fine.
--
Whole Pop Magazine Online - this issue Motorcycles & Teddy Bears
Pop Culture, Games and more at http://www.wholepop.com/
Itamar, itamars@ibm.net