allbery@ncoast.UUCP (08/20/86)
Quoted from <1919@ecsvax.UUCP> ["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