Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Sep 2013 23:20:46 -0700
From:      Gary Kline <kline@thought.org>
To:        FreeBSD Mailing List <freebsd-questions@FreeBSD.ORG>
Subject:   howto kill x if x is running?
Message-ID:  <20130915062046.GA12535@ethic.thought.org>

next in thread | raw e-mail | index | archive | help
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
	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.  what's the script that can do this?

	gary

-- 
 Gary Kline  kline@thought.org  http://www.thought.org  Public Service Unix
             Twenty-seven years of service to the Unix community.
                            http://www.thought.org/HOPE





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130915062046.GA12535>