From owner-freebsd-questions Tue Jan 8 19:10:12 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail3.new.rr.com (fe3.rdc-kc.rr.com [24.94.163.50]) by hub.freebsd.org (Postfix) with ESMTP id E3F3C37B41B for ; Tue, 8 Jan 2002 19:10:00 -0800 (PST) Received: from babylon.polands.org ([65.28.197.21]) by mail3.new.rr.com with Microsoft SMTPSVC(5.5.1877.537.53); Tue, 8 Jan 2002 21:09:44 -0600 Received: (from djp@localhost) by babylon.polands.org (8.11.6/8.11.5) id g0939xt05604; Tue, 8 Jan 2002 21:09:59 -0600 (CST) (envelope-from djp) Date: Tue, 8 Jan 2002 21:09:59 -0600 From: Doug Poland To: Drew Tomlinson Cc: questions@freebsd.org Subject: Re: Kill Group of Processes Message-ID: <20020108210958.B5558@polands.org> References: <009501c1989f$38af7750$c42a6ba5@lc.ca.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <009501c1989f$38af7750$c42a6ba5@lc.ca.gov> User-Agent: Mutt/1.3.23i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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