SSH, and then use the ps command to display the running processes in combination with the grep command to filter this list of results to what you need:
ps aux | grep something
"ps aux" returns a list of all running processes. "grep something" accepts this list (via the pipe ("|")) and simply displays lines that match "something."
So for example, if you want to find an httpd process, you can use
ps aux | grep httpd
The results will contain a PID that you can use to destroy them.
Theox source share