Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to kill process in linux by name

######################################################
# How to Kill the supervisord process without the PID
######################################################
ps -ef | grep 'supervisord' | grep -v grep | awk '{print $2}' | xargs -r kill -9

Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #kill #process #linux
ADD COMMENT
Topic
Name
6+8 =