home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / shell / 5203 < prev    next >
Encoding:
Internet Message Format  |  1992-12-31  |  921 b 

  1. Path: sparky!uunet!pipex!bnr.co.uk!uknet!mcsun!news.funet.fi!hydra!klaava!klaava!Kari.Hurtta
  2. From: Kari.Hurtta@Helsinki.FI (Kari E. Hurtta)
  3. Newsgroups: comp.unix.shell
  4. Subject: Re: killing process by UID
  5. Message-ID: <KARI.HURTTA.92Dec31101911@plootu.Helsinki.FI>
  6. Date: 31 Dec 92 08:19:11 GMT
  7. References: <1992Dec30.090112.1@sep.vitro.com>
  8. Sender: news@klaava.Helsinki.FI (Uutis Ankka)
  9. Organization: Department of Computer Science, University of Helsinki, Finland
  10. Lines: 9
  11. In-Reply-To: eswgcs%v8.decnet@v7.vitro.com's message of 30 Dec 92 14: 01:12 GMT
  12.  
  13. In article <1992Dec30.090112.1@sep.vitro.com> eswgcs%v8.decnet@v7.vitro.com wrote:
  14. > I am looking for the best way to detect all processes owned by a given user
  15. > and kill them.  I would appreciate any ideas in both C and in shell code.
  16.  
  17. su user -c "kill -signal -1"
  18.  
  19. --
  20. - K E H                                      /  Eldmd on monimutkaista
  21.   Kari.Hurtta@Helsinki.FI
  22.