Two ways to kill processes of a kind!!
Sep 5, 2018 · 1 min read
Handy solution to grep and kill process by process name.
When Celery workers are not properly shutdown their will be background celery workers running and they needs to be killed. Eg:
ps -ef | grep celery | awk {'print $2'} | xargs killOr you can install “htop”
sudo yum install htop
sudo apt-get install htop
Along with procesess you can now see memory/cpu/pid information press F4 to filter processess based on keyword, then press Enter and press F9 to kill.
