🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #8381

Re: Process Killing (SQUISH!)

#8381
From: backstro
Date: Sun, 27 Mar 1988 16:45
39 lines
2272 bytes
/* Written  3:04 pm  Mar 21, 1988 by lel@wuphys in silver:comp.sys.amiga.tech */
/* ---------- "Process Killing (SQUISH!)" ---------- */

	Many moons ago, there was a discussion on the net about
killing errant processes.  Obviously, since the Amiga doesn't
implement resource tracking, killing a process would be difficult.
Now, I am NOT a guru, so I'm sure I must be missing something here.
Why not write a program that lists all processes and their priorities.
Then allow the user to select a given process via mouse and have that
process "killed". This could be done by changing the process's
priotity to, say, -256.  Then, start another process with priority
-255 that just EATS CPU time (a simple loop or something pretty).
You could do this directly by fiddling with exec's lists but I'd hate
to fiddle with these. Next, close all windows and screens the process
(by clicking on them if necessary, ala GOMF 1.0).  In
general, clean up everything you can find.  

Question, would it be safe to just remove the process from the queue
rather than setting it's priority to -256 and setting up another
process at -255? 

I'd sit down and write this thing if I had time.  It could be VERY
useful.  Especially since I have plenty of fast ram but only .5 meg
chip.  The screen of an errant program can gobble a lot of this.

Why hasn't this been done?  It would be easier than GOMF...

Any gurus out there have any better ideas?

==========
IBM is a Division of Sirius Cybernetics Corporation
"their fundamental design flaws are completely hidden by their
superficial design flaws."  
			- "So Long And Thanks For All The Fish"

Lyle Levine: Paths -> ihnp4!wuphys!lel
		      uunet!wucs!wuphys!lel
/* End of text from silver:comp.sys.amiga.tech */
Technical Details
Message-ID: <97800001@silver>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!mcdchg!chinet!att-ih!ihnp4!inuxc!iuvax!silver!backstro
References: <523@wuphys.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!mcdchg!chinet!att-ih!ihnp4!inuxc!iuvax!silver!backstro
From: backstro@silver.bacs.indiana.edu
Newsgroups: comp.sys.amiga.tech
Subject: Re: Process Killing (SQUISH!)
Message-ID: <97800001@silver>
Date: 27 Mar 88 16:45:00 GMT
References: <523@wuphys.UUCP>
Organization: Indiana University BACS, Bloomington
Lines: 39
Nf-ID: #R:wuphys.UUCP:-52300:silver:97800001:000:1746
Nf-From: silver.bacs.indiana.edu!backstro    Mar 27 11:45:00 1988