-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Fri, 02 Jan 2004 08:48:18 -0800
Russ
Hi All,
How do you KILL a frozen program? In Mandrake there was Xkill on the menu and you click it, then click on the offending window and it is nuked. Unless I missed it, I find no similar menu item here. In addition to the ctrl-alt-esc, you cabn also use the command line kill command: go to a window (or virtual terminal): The format of the command is: kill -<signal> <list of process ids> You can get a list of process ids from top or from the ps command. The signals are Unix/Linux signals: HUP SIGHUP 1 Normally sent to a foreground process to simulate the loss of the controlling terminal TERM SIGTERM 15 Most processes will terminate normally when killed with SIGTERM. KILL SIGKILL 9 Kill unconditionally. Process cannot trap these, so it is better to use TERM (or SIGTERM), and if that fails, then use SIGKILL. INT SIGINT 2 Interrupt. Similar to control-c from the foreground.
example:
Let's say I want to kill suse watcher, here is a ps ax extract:
1928 ? S 0:18 susewatcher -caption SuSE Update Checker -icon
kinternet.png -miniicon kinternet.pn
gaf@gaf:~> kill -TERM 1928
In this case, susewatcher will terminate normally by performing its
cleanup.
gaf@gaf:~> kill -9 1928
In this case, susewatcher will be killed outright. It will not be able
to clean itself up.
- --
Jerry Feldman