home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / question / 9244 < prev    next >
Encoding:
Text File  |  1992-07-21  |  824 b   |  22 lines

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