|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
||||
|
||||
|
Cannot kill a process with kill -9
Hello everyone, I have a process that I want to kill. I have tried Code:
kill-9 PID but it doesn't work. I have tried Code:
preap PID but it doesn't work too. The parent of my process is the process whose PID is 1, so I can't kill it. My OS is a Solaris 9. Can anyone help me understand what's going ? Thanks, |
| Sponsored Links | ||
|
|
#2
|
|||
|
|||
|
note: Code:
kill-9 should be Code:
kill -9 What return code do you get: Code:
ps -ef | grep pid kill -9 pid echo "return code is: $?" ps -ef | grep pid Please post the result |
| Sponsored Links | ||
|
|
#3
|
||||
|
||||
|
Thak you jim. The kill do not return any code.
|
|
#4
|
|||
|
|||
|
Code:
kill -9 25555 echo $? has to show number. Period. It will return a 1 when the pid does not exist, or you do not have permissions to kill the process. Something is completely wrong here. Please post EXACTLY what you type and what you get from those two commands. Otherwise this is not going to help you at all. |
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Shell Script to Kill Process(number of process) Unix/Solaris | jonnyvic | Shell Programming and Scripting | 2 | 12-03-2009 01:44 PM |
| Kill a process without using kill command | sudhamacs | Linux | 6 | 10-27-2008 12:36 PM |
| Kill a process without using kill command | sudhamacs | Shell Programming and Scripting | 0 | 10-01-2008 05:19 PM |
| kill(0,-9) don't kill the process | umen | Programming | 9 | 06-19-2007 06:09 AM |
| When kill doesnt work, how to kill a process ? | VijayHegde | UNIX for Advanced & Expert Users | 3 | 05-12-2006 04:24 PM |
|
|