Friday, August 6, 2021

Kill multiple UNIX processes in single command;

 for pid in $(ps -ef | awk '/weblogic/ {print $2}'); do kill -9 $pid; done


https://unix.stackexchange.com/questions/50555/kill-many-instances-of-a-running-process-with-one-command




No comments: