home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / shell / 5193 < prev    next >
Encoding:
Text File  |  1992-12-30  |  619 b   |  17 lines

  1. Newsgroups: comp.unix.shell
  2. Path: sparky!uunet!news.uiowa.edu!hobbes.physics.uiowa.edu!zaphod.mps.ohio-state.edu!usc!rpi!sarah!cook!psinntp!psinntp!vitro.com!vitro.com!eswgcs
  3. From: eswgcs%v8.decnet@v7.vitro.com
  4. Subject: killing process by UID
  5. Message-ID: <1992Dec30.090112.1@sep.vitro.com>
  6. Lines: 5
  7. Sender: guest@vitro.com (DECnet default account)
  8. Reply-To: cstump@vitro.com
  9. Organization: Vitro Corporation
  10. Date: Wed, 30 Dec 1992 14:01:12 GMT
  11.  
  12. I am looking for the best way to detect all processes owned by a given user
  13. and kill them.  I would appreciate any ideas in both C and in shell code.
  14.  
  15. Thanks, 
  16.    Chuck Stump
  17.