LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-27-2001, 03:36 PM   #1
tunedLow
Member
 
Registered: Sep 2001
Location: Salt Lake City
Distribution: Slackware 8.1
Posts: 133

Rep: Reputation: 15
Kill a program


How can I kill a program that's frozen? I have an older version of Netscape, and a java applet I wrote is making it crash.

Now it's just minimized but still frozen.

I have RH 7.1 and skimmed through the apps for somthing that would stop it but to no avail...

Thanks!
 
Old 10-27-2001, 03:40 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
you can run either top or ps -aux, get the PID, process id number and use the kill command to kill the process.

$ kill PID

and you can add a -9 for a no questions ask type of kill like this

$ kill -9 PID
 
Old 10-27-2001, 03:50 PM   #3
tunedLow
Member
 
Registered: Sep 2001
Location: Salt Lake City
Distribution: Slackware 8.1
Posts: 133

Original Poster
Rep: Reputation: 15
That did it!!

I love this place - thanks much for your help.
 
Old 10-27-2001, 03:51 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
or

killall program-name
easier than finding the PID etc, but i don't think it's as powerfull as kill -KILL tho. it will natuarlly, kill ALL the processes with the given name. Not sure if the name of the program has anythign to do with that or not... ;-)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how kill a program SciYro Linux - Newbie 5 07-11-2004 05:20 AM
how to kill a program in KDE ? juanb Linux - Newbie 8 11-20-2003 08:59 PM
How to kill my program? kewlchen Linux - General 7 08-12-2003 04:40 PM
cannot kill a program Chooco Linux - General 19 07-23-2003 08:01 AM
How to kill program that has crashed? glock19 Linux - General 3 01-11-2002 02:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration