home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.questions
- Path: sparky!uunet!ferkel.ucsb.edu!taco!eos.ncsu.edu!odkahn
- From: odkahn@eos.ncsu.edu (Opher D. Kahn)
- Subject: Script for killing mutiple processes?
- Message-ID: <1992Jul21.135406.10224@ncsu.edu>
- Sender: news@ncsu.edu (USENET News System)
- Organization: North Carolina State University
- Date: Tue, 21 Jul 1992 13:54:06 GMT
- Lines: 11
-
- I am working with a experimental database server that forks
- off child processes to serve multiple clients. However, some
- times these processes do not terminate correctly, and I am left
- with 10-15 child processes that need to be killed. Is it possible
- to somehow pipe the process numbers from 'ps -aux | grep dood' into
- a kill command, so that I don't have to kill each one of them
- manually??? (dood is the name of the process).
- Thanks,
-
- --
- Opher D. Kahn
-