bash命令

ps aux | grep test_streaming.py | sed -E 's/\s+/ /g; $d'  | cut -d ' ' -f 2 | xargs  -i kill -s 9 {}
# linux
ps ax | grep netron | sed -r 's/\s+/#/g;/grep/d' |cut -f 2  -d '#' | xargs -i kill -s 9 {}
posted @ 2023-07-19 12:28  bregman  阅读(5)  评论(0编辑  收藏  举报