Path: utzoo!attcan!uunet!samsung!think.com!barmar From: barmar@think.com (Barry Margolin) Newsgroups: comp.unix.questions Subject: Re: Idle and Looping Process Killers? Message-ID: <1991Feb27.204002.2611@Think.COM> Date: 27 Feb 91 20:40:02 GMT References: <1991Feb27.041048.24190@eplrx7.uucp> Sender: news@Think.COM Organization: Thinking Machines Corporation, Cambridge MA, USA Lines: 19 In article <1991Feb27.041048.24190@eplrx7.uucp> mroz@eplrx7.uucp (Peter Mroz) writes: >I'm looking for a program (exe or shell script) that will kill idle processes >on Unix. I also need a program that detects runaway processes. How would you define these precisely enough that a program could recognize them? When I manually kill such processes, I use a number of heuristics. For instance, a GNU emacs or Korn shell process running hard but with very small resident set size is probably in a loop due to losing its tty. Last night I killed a uuxqt process that had been running for four hours, using about 12% CPU/real time on a Sun-3/280 (it might have been doing useful stuff, but the system was having performance problems and I doubted it was important enough). -- Barry Margolin, Thinking Machines Corp. barmar@think.com {uunet,harvard}!think!barmar