[comp.sys.amiga.introduction] Is there a KillTask command?

lord_zar@ucrmath.ucr.edu (wayne wallace) (03/21/91)

Hullo. Basically, I would like to have something similar to the
UNIX 'kill' command. Status works enough like ps that I don't care,
but having ps would be nice. Abacus' books says that status only shows
CLI tasks, and not stuff you execute from workbench via icons, though...
Hmm. Yup. Anyone have/know where is ps&kill ?

Wayne

dac@prolix.pub.uu.oz.au (Andrew Clayton) (03/22/91)

In article <12951@ucrmath.ucr.edu>, wayne wallace writes:

> Hullo. Basically, I would like to have something similar to the
> UNIX 'kill' command. Status works enough like ps that I don't care,
> but having ps would be nice. Abacus' books says that status only shows
> CLI tasks, and not stuff you execute from workbench via icons, though...
> Hmm. Yup. Anyone have/know where is ps&kill ?

'Break <tasknum>' is a sort of kill command.

For a less neat solution, try ARTM (Amiga Real Time Monitor) or
XOPER, which both tell you lots about tasks, windows, and all the
rest of the Amiga O/S.

Dac
--

griffin@frith.egr.msu.edu (Danny Griffin) (03/23/91)

dac@prolix.pub.uu.oz.au (Andrew Clayton) writes:

>In article <12951@ucrmath.ucr.edu>, wayne wallace writes:

>> Hullo. Basically, I would like to have something similar to the
>> UNIX 'kill' command. Status works enough like ps that I don't care,

>'Break <tasknum>' is a sort of kill command.

 GOMF has a command called Nuke that will kill programs, etc. but may
 not always get you out of trouble, depending on what went wrong.


-- 
Dan Griffin
griffin@frith.egr.msu.edu

cpc@czaeap.UUCP (Chris Cebelenski) (03/24/91)

In article <12951@ucrmath.ucr.edu>, wayne wallace writes:

> Hullo. Basically, I would like to have something similar to the
> UNIX 'kill' command. Status works enough like ps that I don't care,
> but having ps would be nice. Abacus' books says that status only shows
> CLI tasks, and not stuff you execute from workbench via icons, though...
> Hmm. Yup. Anyone have/know where is ps&kill ?
> 


Nowhere, and for a good reason.  The Amiga's operating system, in an attempt
to keep throughput close to real-time and yet still provide the functionality
it does, doesn't keep track of resources that a particular process uses.  If
one were to kill a particular task with extream predjudice it would die, but it
would also leave any memory it allocated, files it had open or locked etc.  AmigaDOS
does come with the BREAK command, which is good for terminating processes that trap
the control-C,D, etc keys, but not so good otherwise.  Your only other solution
would be to MANUALY go into a program like XOper or ARTM and kill the process, then
free up anything it left open/allocated.
==========================================================================
    Chris Cebelenski        UUCP: portal.com!gdc!aminet!czaeap!cpc
    The Red Mage                : cpc@czaeap.UUCP
                                 // "Amiga - The way REAL people compute"
                               \X/
               Sex, and Drugs, and Rock and Roll-Playing!     (DEVO RULES)
==========================================================================
NOTE: When replying to me, if you get "cpc@aminet.gdc.portal.com" or 
somthing like that as an address your mailer is BRAIN-DEAD, and the
address must to adjusted.

nikolai@guru.pub.uu.oz.au (nikolai kingsley) (04/03/91)

> Hullo. Basically, I would like to have something similar to the
> UNIX 'kill' command. Status works enough like ps that I don't care,
> but having ps would be nice. Abacus' books says that status only shows
> CLI tasks, and not stuff you execute from workbench via icons, though...
> Hmm. Yup. Anyone have/know where is ps&kill ?
> 
 
what i use is Xoper, which has a `killprocess' command in it.


####   #   #  #   #    VsyeRossiiskaya Chrezvyychayynaya
#   #  #   #  #  #     Comissiya  po  Borbye s
####    ####  ###      Kontr'revolutsei, Sabotazhem y
#   #      #  #  #     Spekulyatsiyei
####       #  #   #    nikolai  O:-) (Melbourne)