Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!lll-crg!nike!ucbcad!ucbvax!decvax!cwruecmp!hal!ncoast!allbery From: allbery@ncoast.UUCP Newsgroups: net.sources.d Subject: Dr. Guillotine's cure to runaway procs Message-ID: Date: Tue, 19-Aug-86 21:59:24 EDT Article-I.D.: ncoast.1389 Posted: Tue Aug 19 21:59:24 1986 Date-Received: Thu, 21-Aug-86 04:06:53 EDT References: Reply-To: allbery@ncoast.UUCP (Brandon Allbery) Followup-To: net.sources.d Distribution: net Organization: Cleveland Public Access UNIX (ncoast), Cleveland, OH Lines: 23 Quoted from ["Re: Detecting running processes... this one's portable"], by bet@ecsvax.UUCP (Bennett E. Todd III)... +--------------- | | ( sleep 120 ; kill -9 $$ ) & | exec $* | | That's it. Settable time parameters, advanced warning before the axe | falls, and suchlike "are left as exercises for the reader". It did what | I needed. +--------------- I've used this trick, too... but I use kill -11. It's good technique to find out WHY the program hangs... ++Brandon -- ---------------- /--/ Brandon S. Allbery UUCP: decvax!cwruecmp! / / /|\/ Tridelta Industries, Inc. ncoast!tdi2!brandon ---- -------- /-++ 7350 Corporate Blvd. PHONE: +1 216 974 9210 / / /---, ---- Mentor, Ohio 44060 SYSOP: UNaXcess/ncoast / / / / / / -- HOME -- (216) 781-6201 24 hrs. / / / / / / 6615 Center St. Apt. A1-105 ARPA: ncoast!allbery% ---- -----~ ---- Mentor, Ohio 44060-4101 case.CSNET@csnet-relay