I want to kill some of Apache server process in Linux.
Please help me in this.
if you have pid of the processes that want to kill then use kill
command.
kill pid1 [pid2 pid3 ...]
And if this doesn't kill the processes you can add -9
flag to kill
command to forcefully kill the processes like
kill -9 pid1 [pid2 pid3 ...]
To get the pid of the process you can use ps
command as
ps ax | grep apache
first column of output is the pid of the process.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With