ps -ef查看进程,并杀死特定进程
命令如下,之后在补充各自的意义ps -ef| grep file-flume-kafka | grep -v grep |awk '{print $2}' | xargs kill -9[jiang@studyMachine mock0401]$ ps -ef| grep file-flume-kafka | grep -v grep |awk '{print $2}'8912[jiang@stu
·
命令如下,之后在补充各自的意义
ps -ef | grep file-flume-kafka | grep -v grep |awk '{print $2}' | xargs kill -9
[jiang@studyMachine mock0401]$ ps -ef | grep file-flume-kafka | grep -v grep |awk '{print $2}'
8912
[jiang@studyMachine mock0401]$ ps -ef | grep file-flume-kafka | grep -v grep |awk '{print $2}' | xargs kill -9
[jiang@studyMachine mock0401]$ ps -ef | grep file-flume-kafka | grep -v grep |awk '{print $2}'
[1]+ Killed nohup /opt/module/flume/bin/flume-ng agent --conf-file /opt/module/flume/conf/file-flume-kafka.conf --name a1 -Dflume.root.logger=INFO,LOGFILE > /opt/gmall/mock0401/file-flume-kafka.log 2>&1
[jiang@studyMachine mock0401]$
更多推荐
已为社区贡献1条内容
所有评论(0)