Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!brutus.cs.uiuc.edu!usc!hacgate!gryphon!jdm From: jdm@gryphon.COM (John Mesiavech) Newsgroups: comp.sys.amiga Subject: Re: Suggestions for a kill command Summary: It already exists, in the PD. Message-ID: <20962@gryphon.COM> Date: 15 Oct 89 07:02:37 GMT References: <1661@nigel.udel.EDU> Reply-To: jdm@gryphon.COM (John Mesiavech) Organization: Trailing Edge Technology, Redondo Beach, CA Lines: 39 In article <1661@nigel.udel.EDU> okay@tafs.mitre.org (Okay S J) writes: >>From: "W. David Rohwer" >>Newsgroups: comp.sys.amiga >>Subject: Suggestion for kill command. >>I have a suggestion for the next version of the OS. Can you include >>a command to kill a process like the UNIX kill command? It would make it >>easier for me to free up resources if a program goes out to lunch. Also, it >>would prevent me from doing a warm reboot of my machine. >>-- > >Agreed...it would be of immense benefit if you could simply do >something like a 'kill 9' on a hung process. I'm actually kind of surprised >it doesn't exist right now. Severity levels would be nice, but they don't Ah, kemo sabe, your wish is a PD command! Seriously, get thee hence to your favorite BBS or commercial service, and download a PD program called AskTask. Within you will find a program (with source, yet!) to do EXACTLY as you command, via: 1) Reducing the task priority down to nothing, so it eats no CPU time; 2) Sending Signals to the task to stop (by setting it's Wait() bits directly) 3) Fircing the task to do a DOS Exit(), or 4) Directly RemTask()ing it. Either way, the task is gone. Works on everything I've tried it with..... If you can't find it on any local to you BBSsm send mail to jdm@gryphon.com and I'll send you the UUEncoded zoo file. John (.sig under reconstruction>