LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-01-2003, 02:59 PM   #1
israel
Member
 
Registered: Mar 2003
Location: Canada
Distribution: Slackware 8.1
Posts: 74

Rep: Reputation: 15
Killing an application


Hello everybody,

Can someone tell me how to kill an application that is running in linux

specially i need to know how to kill java application

Thanks
 
Old 10-01-2003, 03:04 PM   #2
Blinker_Fluid
Member
 
Registered: Jul 2003
Location: Clinging to my guns and religion.
Posts: 683

Rep: Reputation: 63
# ps -ef | grep application_name
ought to see something like
# ps -ef | grep ga
username 1266 4663 0 08:38 pts/1 00:00:03 gaim
username 3797 4663 0 14:02 pts/1 00:00:00 grep ga

the first number is the Process ID number (PID)
You can then kill it with:
# kill 1266

If that doesn't work you can use the kill -9 option.
 
  


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 to link helpblocks application to gtk application m.harshavardhan Linux - Software 0 08-16-2005 08:39 AM
This is killing me UncleEricB Linux - Networking 2 02-01-2005 09:41 PM
how i migrate windows application to Linux base application vandarakalpesh Linux - Software 0 06-26-2004 03:34 AM
Kill -9 not killing application, connected with cdrom busy error? vdemuth Linux - Software 5 04-11-2004 02:33 PM
Killing X ? sp0t Linux - Newbie 7 08-17-2002 07:53 AM


All times are GMT -5. The time now is 06:02 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