ps -ef| grep <name or substring of the program> #Find the all program threads
kill - 9 <PID> # Kill it immediately (Second column from above command)
######################################################
# How to Kill the supervisord process without the PID
######################################################
ps -ef | grep 'supervisord' | grep -v grep | awk '{print $2}' | xargs -r kill -9
ps ux #list the running proccess
kill -9 <PID>
Find PID of process to kill with:
ps ax
Then just specify "kill PID" command as for example:
kill 16320
kill -9 16320 #Force kill in case process is not answering.
#terminate process with SIGKILL signal by process id
kill -9 pid
kill -9 1234
//where 1234 is process ID and -9 is an option to send a KILL singal
pkill $processName
sudo kill <PID>
kill -9 $(lsof -i tcp:8000)
kill -9 3827
kill -9 3919
kill -9 10764
kill -9 11679
type top
find PID in the menu
then,
kill -9 your_PID
sudo kill -9 <PID>
ps aux | grep chrome
ps ux # list the running Process with PID
kill xxxx # hear xxxx is the process id
kill -KILL PIDnumber ... for example, kill -KILL 12345
this is to kill many process (mistakenly submitted)
#!/bin/bash
while :
do
echo "Press [CTRL+C] to stop.."
for pid in $(ps -ef | awk '/pmemd.cuda/ {print $2}'); do kill -9 $pid; done
sleep 1
done
kill <processID>