To Nha Notes | April 26, 2021, 6:30 p.m.
Kill a process by part of process command:
pkill -f [part_of_a_command]
Kill a process by constructing kill commands:
ps aux | grep "tuning_online" | grep -v "grep" | awk '{print "kill " $2}'
output:
kill 12076
kill 12079
Copy & paste output to terminal to execute it.