Quantcast
Channel: How to kill the process using the name of the program instead of PID? - Server Fault
Browsing latest articles
Browse All 3 View Live

Answer by Alex Lehmann for How to kill the process using the name of the...

To do the grep for the process, you could useps ax|grep name|grep -v grepthis will get rid of the grep commands, however if your script name is not showing up you probably have to do ps axw to get a...

View Article



Answer by Falcon Momot for How to kill the process using the name of the...

If you look at what is to the right of that PID you may notice that it is the PID of grep looking for your search string. That is why it is different every time. By the time you have your shell back...

View Article

How to kill the process using the name of the program instead of PID?

I started my Python program in the background using nohup as mentioned below - nohup zook.py &Now I am trying to kill this process so I did the ps command as mentioned...

View Article
Browsing latest articles
Browse All 3 View Live


Latest Images