Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jan 2002 21:09:59 -0600
From:      Doug Poland <doug@polands.org>
To:        Drew Tomlinson <drew@mykitchentable.net>
Cc:        questions@freebsd.org
Subject:   Re: Kill Group of Processes
Message-ID:  <20020108210958.B5558@polands.org>
In-Reply-To: <009501c1989f$38af7750$c42a6ba5@lc.ca.gov>
References:  <009501c1989f$38af7750$c42a6ba5@lc.ca.gov>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 08, 2002 at 03:50:15PM -0800, Drew Tomlinson wrote:
> I know I could do this one by one but I'd like to take the opportunity
> to learn to use the operating system as intended.  My shell is tcsh and
> I want to kill all of the processes as shown in this output:
> 
> blacksheep# ps -acux | grep cvsup
> root         20162  0.0  3.4  4680 1540  ??  I    18Dec01   0:05.54
> cvsup
> [many others just like it snipped]
> 
> What combination of commands can I use to extract the PID and pipe it to
> kill?
> 
Isn't this what killall is meant to do?  i.e.,  killall -KILL cvsup

-- 
Regards,
Doug

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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