Results 1 to 3 of 3

Thread: Closing all apps.

  1. #1
    Junior Member
    Join Date
    Apr 2004
    Posts
    1

    Closing all apps.

    I have a question...

    If I try to work to fast on Knoppix sometimes an application will freeze up. Then I have to restart my computer and start knoppix again to get rid of it. Is there an easier way to just like completely clear all applications running?

  2. #2
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    You can use xkill to kill an application, or type in a konsole "ps fax" without the quotes to get the PID for the stopped app and do "kill pidnumber" or "killall application-name". If kill doesn't work try "kill -HUP pidnumber".

  3. #3
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    why kill them all?
    Go to a vt (lets say: ttyS2, to do that, hitt ctrl+alt+F2, to get back to KDE and X hit, ctrl+alt+f5, could be F1, F3, F4... be patient it might take a few seconds for the screen to wake) and type ps -A look for the name of what is bothering you.

    if i had a frozen centericq i would do
    ps -A
    output would be a looooong list (i have some 6 xterms), here is a part of that output.
    Code:
     
      652 ?        00:00:00 fvwm95
      686 ?        00:00:40 gkrellm
      687 ?        00:00:00 FvwmTaskBar
      688 ?        00:00:00 FvwmButtons
      692 ?        00:00:00 xterm
      702 pts/0    00:00:01 centericq
    then a
    Code:
    kill 702
    would do just that, kill the process with number 702. it might be that it won't die, hmmm, ok.
    Code:
    kill -9 702
    that would work. if not, hmmm. ok lets pretend it did not work, check if something keeps it alive (is above it in the ps tree)
    ps -aux then kill anythng assosiated with centericq, and ofcource centericq).
    in this case Xterm.
    oe 652 0.0 0.6 2808 1532 ? S 16:23 0:00 fvwm95
    oe 686 0.3 2.5 10276 6112 ? S 16:23 0:41 gkrellm
    oe 687 0.0 0.5 2532 1216 ? S 16:23 0:00 /usr/X11R6/lib/X1
    oe 688 0.0 0.5 2520 1216 ? S 16:23 0:00 /usr/X11R6/lib/X1
    oe 692 0.0 1.0 5036 2620 ? S 16:23 0:00 xterm -T centeric
    oe 694 0.0 0.4 2092 1024 ? S 16:23 0:00 /bin/sh /usr/lib/
    oe 702 0.0 1.8 7648 4380 pts/0 S 16:23 0:01 centericq
    now do
    Code:
     kill -9 692 702
    if it survives this it is a Zombie process (yes it is the actuall name) and canot be killed short of reboot.

Similar Threads

  1. Windows Apps
    By urielka in forum Klik
    Replies: 6
    Last Post: 05-10-2005, 05:29 PM
  2. Problems with NVIDIA and boot (closing x-server) Knoppix 3.7
    By Coffee-OD in forum Hardware & Booting
    Replies: 6
    Last Post: 03-31-2005, 10:43 PM
  3. X apps in chroot
    By garyng in forum General Support
    Replies: 7
    Last Post: 12-21-2004, 02:09 AM
  4. some KDE apps
    By probono in forum Klik
    Replies: 1
    Last Post: 09-20-2004, 08:01 AM
  5. I need help closing ports
    By jojo in forum General Support
    Replies: 3
    Last Post: 02-23-2004, 11:56 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Fujinet 1.7.1 Atari 400 800 800XL 130XE 65XE XEGS Assembled, Tested, Working picture

Fujinet 1.7.1 Atari 400 800 800XL 130XE 65XE XEGS Assembled, Tested, Working

$99.99



Atari 400 / 800 Computer Memory Module 16K RAM PCB CX853 - Works Perfectly picture

Atari 400 / 800 Computer Memory Module 16K RAM PCB CX853 - Works Perfectly

$18.95



Atari 400 Home Computer System includes Power Cord G2U picture

Atari 400 Home Computer System includes Power Cord G2U

$159.99



Atari 1200XL Computer Game Console Vintage Rare FOR PARTS OR REPAIR READ picture

Atari 1200XL Computer Game Console Vintage Rare FOR PARTS OR REPAIR READ

$270.00



Vintage Atari 1050 Disk Drive w/ SIO Cable & 32 Games/Programs - UNTESTED  picture

Vintage Atari 1050 Disk Drive w/ SIO Cable & 32 Games/Programs - UNTESTED

$67.76



Atari 1200 XL home computer with original owners guide and power supply power on picture

Atari 1200 XL home computer with original owners guide and power supply power on

$255.00



Atari 800 130XE 65XE Color S-Video, Composite Video & Audio Cable Tested picture

Atari 800 130XE 65XE Color S-Video, Composite Video & Audio Cable Tested

$29.78



Atari 800XL Home Computer 64K RAM in Original Box 1984 Olympic Edition Untested picture

Atari 800XL Home Computer 64K RAM in Original Box 1984 Olympic Edition Untested

$149.99



GreaseWeazle v4 board USB floppy drive adapter Retro All Formats picture

GreaseWeazle v4 board USB floppy drive adapter Retro All Formats

$35.00



DEFECTIVE Atari 810 Vintage Computer Disk Drive  powers on Unit Only Boo G3D picture

DEFECTIVE Atari 810 Vintage Computer Disk Drive powers on Unit Only Boo G3D

$49.29