I started some processes with nohup and they aren’t working correctly so I need to find and kill them but I dont know the pid or anything.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
SSH in and then use the ps command to list running processes in conjunction with the grep command to filter that result list down to what you need:
“ps aux” returns a list of all processes currently running
“grep something” takes that list (via the pipe (“|”)) and just outputs strings that match “something”.
So for example if you wanted to find the httpd process you could use
The results will contain the PID you can use to kill them.