LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 02: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, 02:40 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
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, 02: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, 02:51 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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



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 04:20 AM
how to kill a program in KDE ? juanb Linux - Newbie 8 11-20-2003 07:59 PM
How to kill my program? kewlchen Linux - General 7 08-12-2003 03:40 PM
cannot kill a program Chooco Linux - General 19 07-23-2003 07:01 AM
How to kill program that has crashed? glock19 Linux - General 3 01-11-2002 01:49 PM

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

All times are GMT -5. The time now is 12:02 AM.

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
Open Source Consulting | Domain Registration