home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sources.wanted
- Path: sparky!uunet!cs.utexas.edu!sdd.hp.com!elroy.jpl.nasa.gov!earle
- From: earle@elroy.jpl.nasa.gov (Greg Earle - Gainfully Unemployed)
- Subject: Re: kill-by-name that *works*
- Message-ID: <1992Dec30.102839.10017@elroy.jpl.nasa.gov>
- Followup-To: comp.sources.wanted
- Summary: skill
- Keywords: skill kill by name
- Sender: isolar!earle@elroy.JPL.NASA.GOV
- Organization: Gainfully unemployed
- References: <1gia4iINN5t1@iraul1.ira.uka.de> <1992Dec28.023100.22222@spectrum.xerox.com>
- Date: Wed, 30 Dec 1992 10:28:39 GMT
- Lines: 36
-
- In article <1992Dec28.023100.22222@spectrum.xerox.com> leisner@eso.mc.xerox.com writes:
- >Lutz Prechelt (prechelt@i41s18.ira.uka.de) wrote:
- >>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.
- >
- >I'm using David Skoll's (dfs@doe.carleton.ca) he bundles with remind:
-
- [ script deleted. Yuck (-: ]
-
- I advise using Jeff Forys' "skill" program instead. It's a C program that
- also does nice'ing by name ("snice") and it can do kill/nice by name, tty,
- pid, etc. A *great* piece of software that I can't live without.
-
- You can get the latest version of "skill"/"snice" via anonymous FTP from
- snake.CS.Utah.EDU, in the directory ~ftp/pub/skill-3.2. Look for the file
- named "skill-3.2@P5_shar.Z" (Current version is 3.2, patch level 5).
-
- Remember to set "binary" transfer mode as it comes in a compress'd shell
- archive file.
-
- Disclaimer: I provided the SunOS 4.0/4.1 ports to Jeff, so I'm somewhat biased!
- (-:
-
- --
- - Greg Earle
- Itinerant Sun Consultant
- isolar!earle@elroy.JPL.NASA.GOV
- (818) 353-8695
-