home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sources / wanted / 5508 < prev    next >
Encoding:
Text File  |  1992-12-30  |  2.0 KB  |  51 lines

  1. Newsgroups: comp.sources.wanted
  2. Path: sparky!uunet!cs.utexas.edu!sdd.hp.com!elroy.jpl.nasa.gov!earle
  3. From: earle@elroy.jpl.nasa.gov (Greg Earle - Gainfully Unemployed)
  4. Subject: Re: kill-by-name that *works*
  5. Message-ID: <1992Dec30.102839.10017@elroy.jpl.nasa.gov>
  6. Followup-To: comp.sources.wanted
  7. Summary: skill
  8. Keywords: skill  kill  by name
  9. Sender: isolar!earle@elroy.JPL.NASA.GOV
  10. Organization: Gainfully unemployed
  11. References: <1gia4iINN5t1@iraul1.ira.uka.de> <1992Dec28.023100.22222@spectrum.xerox.com>
  12. Date: Wed, 30 Dec 1992 10:28:39 GMT
  13. Lines: 36
  14.  
  15. In article <1992Dec28.023100.22222@spectrum.xerox.com> leisner@eso.mc.xerox.com writes:
  16. >Lutz Prechelt (prechelt@i41s18.ira.uka.de) wrote:
  17. >>I am looking for a program or script for Unix (namely SUN-OS and 
  18. >> Ultrix, but should be portable, if possible), that
  19. >> kills processes by giving the name of the program they run instead
  20. >> of by giving their process number.
  21. >>
  22. >> I have a shell script (written myself) that works most of the time, 
  23. >> but when the youngest processes do not have the highest PIDs of all
  24. >> existing processes (which is possible, if a system runs long
  25. >> enough and PIDs wrap around after about 30000 processes), 
  26. >> it gets into trouble.
  27. >
  28. >I'm using David Skoll's  (dfs@doe.carleton.ca) he bundles with remind:
  29.  
  30. [ script deleted.  Yuck (-: ]
  31.  
  32. I advise using Jeff Forys' "skill" program instead.  It's a C program that
  33. also does nice'ing by name ("snice") and it can do kill/nice by name, tty,
  34. pid, etc.  A *great* piece of software that I can't live without.
  35.  
  36. You can get the latest version of "skill"/"snice" via anonymous FTP from
  37. snake.CS.Utah.EDU, in the directory ~ftp/pub/skill-3.2.  Look for the file
  38. named "skill-3.2@P5_shar.Z" (Current version is 3.2, patch level 5).
  39.  
  40. Remember to set "binary" transfer mode as it comes in a compress'd shell
  41. archive file.
  42.  
  43. Disclaimer: I provided the SunOS 4.0/4.1 ports to Jeff, so I'm somewhat biased!
  44. (-:
  45.  
  46. --
  47.     - Greg Earle
  48.       Itinerant Sun Consultant
  49.       isolar!earle@elroy.JPL.NASA.GOV
  50.       (818) 353-8695
  51.