From 81dd8d033d766a067f58cefd9343c016ca7b4f03 Mon Sep 17 00:00:00 2001 From: onceupon Date: Wed, 30 May 2018 15:25:06 +0800 Subject: [PATCH] no f flag in killall wonder why killall have to be used here instead of pkill --- monitoring.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monitoring.py b/monitoring.py index f3dd99c4..ce4f6c25 100644 --- a/monitoring.py +++ b/monitoring.py @@ -27,7 +27,7 @@ def start(directory): def stop(directory=None): nodes = settings.getnodes('clients', 'osds', 'mons', 'rgws') - common.pdsh(nodes, 'killall -SIGINT -f collectl').communicate() + common.pdsh(nodes, 'killall -SIGINT collectl').communicate() common.pdsh(nodes, 'sudo pkill -SIGINT -f perf_3.6').communicate() common.pdsh(settings.getnodes('osds'), 'sudo pkill -SIGINT -f blktrace').communicate() if directory: