kill -9 `pgrep linux|awk '{++S[$1]}END{for (i in S) print i}'`
teamkill #!/bin/bash set -x kill -9 `pgrep $1|awk '{++S[$1]}END{for (i in S) print i}'`
脚本的位置:
# /usr/local/bin/teamkill
kill -9 `pgrep linux|awk '{++S[$1]}END{for (i in S) print i}'`
teamkill #!/bin/bash set -x kill -9 `pgrep $1|awk '{++S[$1]}END{for (i in S) print i}'`
脚本的位置:
# /usr/local/bin/teamkill
转载于:https://www.cnblogs.com/bass6/p/6640547.html