home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!paladin.american.edu!darwin.sura.net!jvnc.net!yale.edu!ira.uka.de!uka!i41s18!prechelt
- From: prechelt@i41s18.ira.uka.de (Lutz Prechelt)
- Newsgroups: comp.sources.wanted
- Subject: kill-by-name that *works*
- Date: 14 Dec 1992 15:44:18 GMT
- Organization: University of Karlsruhe, FRG
- Lines: 19
- Distribution: world
- Message-ID: <1gia4iINN5t1@iraul1.ira.uka.de>
- NNTP-Posting-Host: i41s18.ira.uka.de
-
- I am looking for a program or script for Unix (namely SUN-OS and
- Ultrix, but should be portable, if possible), that
- kills processes by giving the name of the program they run instead
- of by giving their process number.
-
- I have a shell script (written myself) that works most of the time,
- but when the youngest processes do not have the highest PIDs of all
- existing processes (which is possible, if a system runs long
- enough and PIDs wrap around after about 30000 processes),
- it gets into trouble.
-
- Lutz
-
-
- --
- Lutz Prechelt (email: prechelt@ira.uka.de) | Whenever you
- Institut fuer Programmstrukturen und Datenorganisation | complicate things,
- Universitaet Karlsruhe; D-7500 Karlsruhe 1; Germany | they get
- (Voice: ++49/721/608-4317, FAX: ++49/721/694092) | less simple.
-