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

 
PREVIOUS NEXT
Tagged: #kill #process #linux
ADD COMMENT
Topic
Name
9+7 =