Re: howto kill x if x is running?

2013-09-15 Thread Gary Kline
Organization: Thought Unlimited. Public service Unix since 1986. Of_Interest: With 27 years of service to the Unix community. On Sun, Sep 15, 2013 at 07:56:17AM +0100, Matthew Seaman wrote: > On 15/09/2013 07:20, Gary Kline wrote: > > > I've evidently had too many pain meds; this shelll

Re: howto kill x if x is running?

2013-09-14 Thread Matthew Seaman
On 15/09/2013 07:20, Gary Kline wrote: > I've evidently had too many pain meds; this shelll script should > be easy. say that I have a utility xxx running sometimes. xxx is > soaking up a chunk of my load. I have to use top to find if > xxx is running, then kill -9 to k

Re: howto kill x if x is running?

2013-09-14 Thread Polytropon
On Sat, 14 Sep 2013 23:20:46 -0700, Gary Kline wrote: > say that I have a utility xxx running sometimes. xxx is > soaking up a chunk of my load. I have to use top to find if > xxx is running, then kill -9 to kill xxx and have a steady load of, > say, between 0.10 and 0.15.

howto kill x if x is running?

2013-09-14 Thread Gary Kline
Organization: Thought Unlimited. Public service Unix since 1986. Of_Interest: With 27 years of service to the Unix community. guys, I've evidently had too many pain meds; this shelll script should be easy. say that I have a utility xxx running sometimes. xxx is