It's a job id. It's only applicable when using the shell builtin version of kill. For detailed info, refer to your shell's man page -- specifically, the job control and kill builtin sections.
A very harsh way to learn is the difference between kill %1 and kill 1
This should be fine:-
I need to make this next bit clear:- Do not run this!
.... or your server with fail in the instant. Not even a crash in most cases, it just fails.
Even process 5 may be very early and a very critical process. You may be lucky and process 5 may have already terminated, but it's very risky stuff all the same. If you are the root user, you can terminate any process, so single digit errors on a kill command can be catastrophic. Imagine terminating an application serving process, a database query or worse a critical database service sudo as pmon for Oracle or oinit for Informix etc.
With great power comes great responsibility and errors can cause irrevocable damage.
hello, can anyone help me with a script that checks the status of processes and "kills" the process that's hanging? I mean I'm aware of the commands but I'm confused on how to put them all together... thanks! :) (4 Replies)
I am running Solaris 9. I have a problem with kill command. I'm sort of teaching myself so this might be a really stupid thing. I logged in as a normal user, lets say ABC, and then did "su" to root. After becoming root, I tried to kill the process started by ABC by saying
kill -9 "pid of ABC"
... (3 Replies)
I want to Kill a process without using kill command as i don't have privileges to kill the process. I know the pid and i am using Linux 2.6.9 OS. (6 Replies)