[comp.sys.amiga] background processes

dooley@helios.toronto.edu (Kevin Dooley) (03/16/88)

Hello,
	This is my first posting and the Amiga 2000 is my first
home-style computer.  As a result my question is rather biased
by a main-frame point of view.  Actually I have 2 questions:
	1) How can I get a listing of ALL the processes that
		are competing for CPU time (including the current
		CLI, workbench, etc.)
	2) Suppose one of the processes listed has run amok, how can
		I kill it and any daughter processes, freeing up any
		buffers they are using, without upsetting anything else?

	Please respond by e-mail to

   uucp ----  dooley@helios.toronto.edu
or bitnet --  dooley@utorphys

If either question turns out to have a non-trivial answer I will post
a summary to the net.

page@swan.ulowell.edu (Bob Page) (03/19/88)

There's no CLI command to do list ALL processes, although there are PD
programs (like AmigaMonitor) that do it.  Actually I think you mean
processes+tasks, as tasks are sort of lightweight processes (or is a
process a heavy task? :-))

You can't outright kill a process.  The system doesn't keep track of
memory allocations, etc, for a particular process, so can't clean up
after it's gone.  You can send signals ( ^C, ^D, ^E, ^F) to the
process and hope that it catches it and cleans itself up, but very few
programs let you do this.

..Bob
-- 
Bob Page, U of Lowell CS Dept.  page@swan.ulowell.edu  ulowell!page
		"Nicaragua" is Spanish for "Vietnam."