Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 04-27-2009, 04:08 AM   #1
LQ Newbie
Registered: Apr 2009
Posts: 1

Rep: Reputation: 0
Processes in Linux

When I tried to kill a process by using kill -15 PID, it is not getting killed.But when using a kill -9 on the same process kills it.What could be the possible reason
Old 04-27-2009, 04:51 AM   #2
Registered: Mar 2003
Location: Berkshire, England.
Distribution: SuSE 10.0
Posts: 299

Rep: Reputation: 32
Basically, the difference is like this:

kill -15 asks the process to terminate.
kill -9 tells it to.

Ideally, you should try -15 first, so that the application can shut itself down properly, and only use -9 if -15 doesn't work and you really need to kill it.

But in practice, most people I know just use -9. :-/


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
Limitations of System Processes and Oracle Processes in RHEL AS3.0 sathyguy Linux - Enterprise 0 03-02-2007 11:52 PM
Processes(sp?) in Linux Robert Diggs Linux - Newbie 1 12-29-2006 10:28 AM
linux processes baisie General 5 03-09-2006 12:35 PM
Linux Processes? cdegroat Linux - General 6 04-18-2005 01:06 PM
monitoring active processes and identifying the required processes. gajaykrishnan Programming 2 08-13-2004 01:58 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:01 PM.

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