arguments must be process or job IDs
[root@localhost ansible]# cat filebeat_stop.sh#!/bin/bashpid=`ps -ef|grep filebeat|grep "\./filebeat"|grep "filebeat.yml"|awk '{print $2}'`echo $pidkill -9 $pid[root@localhost ansible]# sh filebe...
原创
2019-12-10 11:02:03 ·
8197 阅读 ·
0 评论