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