浏览代码

修改kill命令

leon 3 周之前
父节点
当前提交
5844e291ca
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      Makefile

+ 2 - 1
Makefile

@@ -10,7 +10,8 @@ status:
 	@ps -ef | grep infer.py | grep -v grep
 	@ps -ef | grep infer.py | grep -v grep
 
 
 kill:
 kill:
-	@$(shell ps -ef | grep infer.py | grep -v grep | awk '{print $2}' | xargs kill)
+	@ps -ef | grep infer.py | grep -v grep | awk '{print $$2}' | xargs kill
+	@ps -ef | grep infer.py
 
 
 log:
 log:
 	@tail -f log/runtime.log
 	@tail -f log/runtime.log