[Ti] Terminal question

Tarik Bilgin tarik at opalblue.com
Wed Aug 13 09:11:09 PDT 2003


On Wednesday, August 13, 2003, at 05:12  pm, Ray M wrote:

> Hello guys... I wonder how to kill an application (that is still 
> running and
> consuming processor percentage ) with the terminal...
> For example the application is in the folder applications/mlmac
>

use ps to show you information about the processes running.

Therefore if I am interested in a process called "Finder" I would do:

ps aux | grep Finder

this gives me:

tarik   984   0.0  7.5   646908  49416  ??  S    Mon09AM   4:31.58 
/System/Library/CoreServices/Finder.app/Contents/MacOS/Finder 
-psn_0_5373953
tarik  2908   0.0  0.0     2136    220 std  U+    5:07PM   0:00.00 grep 
Finder


so the process ID of Finder is 984.

Now I would type:

kill -9 984

(the -9 is a kill signal -- a very nasty one that can't be ignored. 
-TERM can be a softer approach if you prefer)

type:

man kill

to learn about kill.

good luck,


--
Tarik Bilgin
Opalblue
tarik at opalblue.com



More information about the Titanium mailing list