How to kill a process in UNIX ?
You need to get the process ID (PID) of the running job. With that process id use the command 'kill' to stop the running process.
Suppose the name of the process is know the use the command
>pidof <process>
This can give the process ID .
use the process id and give the command to stop the process.
>kill <pid>
You need to get the process ID (PID) of the running job. With that process id use the command 'kill' to stop the running process.
Suppose the name of the process is know the use the command
>pidof <process>
This can give the process ID .
use the process id and give the command to stop the process.
>kill <pid>
Comments
Post a Comment