Announcement

Collapse
No announcement yet.

kill a program

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    kill a program

    what is the easiest way to kill a "hung" program. in my case it is the package manager or the software manager.

    #2
    Ctrl+Alt+Esc

    This gives a skull cursor. Position it on the application window and click. Program is killed.
    Windows no longer obstructs my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Originally posted by Snowhog View Post
      Ctrl+Alt+Esc

      This gives a skull cursor. Position it on the application window and click. Program is killed.
      Cool command!

      Is there any place to see more commands like theses.
      Rob

      Comment


        #4
        Borrowing a phrase from an esteemed member.....trey cool. This is much easier than using system monitor to kill an unruly application. Thank you much.
        Linux User #454271

        Comment


          #5
          yes that is a cool one , and has been around sence at least the KDE-3 series that I know of.

          however it wont help you on a runaway process.
          for instance the other day Nepomuk puked on me at start up (never happened before or sense) .
          in this case sense thare was no GUI or window to click the scull and cross bones on I puled up top (actually I puled up top to see what was slowing down the system) and upon seeing Nepomuk eating up 99/100% CPU cycles I pressed the K key then entered the PID of the process and hit enter top will ask if you want to kill the process with signal 15 (or maby something else) hit enter agin and it kills it

          VINNY
          i7 4core HT 8MB L3 2.9GHz
          16GB RAM
          Nvidia GTX 860M 4GB RAM 1152 cuda cores

          Comment


            #6
            I didnt know about that one! Thanks.

            Comment


              #7
              Good one! I did not know about the skull thing.

              Comment


                #8
                Originally posted by vinnywright View Post
                yes that is a cool one , and has been around sence at least the KDE-3 series that I know of.

                however it wont help you on a runaway process.
                for instance the other day Nepomuk puked on me at start up (never happened before or sense) .
                in this case sense thare was no GUI or window to click the scull and cross bones on I puled up top (actually I puled up top to see what was slowing down the system) and upon seeing Nepomuk eating up 99/100% CPU cycles I pressed the K key then entered the PID of the process and hit enter top will ask if you want to kill the process with signal 15 (or maby something else) hit enter agin and it kills it

                VINNY
                In this case you can hit Ctrl+ESC to bring up the System Activity monitor which you can select a process to kill similar to top.

                There is also the krunner plugin terminal applications which lets you hit Alt+F2 and type "kill applicationname" to kill that application (it will list them if there are more then one as well and can be configured to sort them by cpu usage). It also lets you send either SIGTERM or SIGKILL to the process (either ask it to terminate nicely (better) or just stop it dead (only if it does not want to exit)).

                Note: there is a better version of top called htop, it adds colours and some graphs at the top and is easier to configure/use. If you use top allot I would recommend trying it.
                Last edited by james147; Oct 31, 2012, 04:11 AM.

                Comment


                  #9
                  I'm really enjoying this thread. I know these tips are minor compared to some other things, but still very helpful and easy to grasp concepts, too. Thanks everyone.
                  Linux User #454271

                  Comment


                    #10
                    Originally posted by james147 View Post
                    In this case you can hit Ctrl+ESC to bring up the System Activity monitor which you can select a process to kill similar to top.
                    this one I was aware of , but it's good for the thread

                    Originally posted by james147 View Post
                    There is also the krunner plugin terminal applications which lets you hit Alt+F2 and type "kill applicationname" to kill that application (it will list them if there are more then one as well and can be configured to sort them by cpu usage). It also lets you send either SIGTERM or SIGKILL to the process (either ask it to terminate nicely (better) or just stop it dead (only if it does not want to exit)).
                    this one I was not aware of ,,,, nice one

                    Originally posted by james147 View Post
                    Note: there is a better version of top called htop, it adds colours and some graphs at the top and is easier to configure/use. If you use top allot I would recommend trying it.
                    I did know of htop I just never got my hands dirty with it yet ,it dident seem to work like I thought it should......hummm maby some reading up on it's operation is in order

                    VINNY
                    i7 4core HT 8MB L3 2.9GHz
                    16GB RAM
                    Nvidia GTX 860M 4GB RAM 1152 cuda cores

                    Comment


                      #11
                      I just pkill $BADPROGRAM or killall $BADPROGRAM. I don't know if it'll work with KDE's launcher (new here, learned a few things in this thread).

                      Comment


                        #12
                        I used killall. But then I read on some versions of Linux this kills ALL programs the user can kill. Since then I only use pkill since that only kills the program which name you give it.
                        I'm afraid if I ever change to another distro, I'll accidentally may use killall if I'm used to it.

                        Comment


                          #13
                          Originally posted by vinnywright View Post
                          I did know of htop I just never got my hands dirty with it yet ,it dident seem to work like I thought it should......hummm maby some reading up on it's operation is in order
                          I find it works just like top, but is easier to interact with (it even gives you some common keys you can press at the bottom of the screen) and gives a much nicer presentation of the data (colours and graphs ).

                          Comment


                            #14
                            Originally posted by JobIbmJr View Post
                            what is the easiest way to kill a "hung" program
                            Once the program is already hung, just kick out the platform and let it dangle. Sometimes other programs might come and watch, even.

                            Comment


                              #15
                              If it's already a hung program, and the need still exists to 'kill' it, doesn't that mean that it has 'returned to life' -- become a zombie?
                              Windows no longer obstructs my view.
                              Using Kubuntu Linux since March 23, 2007.
                              "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                              Comment

                              Working...
                              X