From 056df2d9f0af16083bb0f601cb519e87741f1013 Mon Sep 17 00:00:00 2001 From: Ermal Date: Mon, 4 Apr 2011 10:24:57 +0000 Subject: [PATCH] Add -a to include all updaterrd.sh scripts running and also remove top killing since its not used anymore in stat gathering. --- etc/inc/rrd.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/etc/inc/rrd.inc b/etc/inc/rrd.inc index 92764d037e..2406753f0c 100644 --- a/etc/inc/rrd.inc +++ b/etc/inc/rrd.inc @@ -811,9 +811,8 @@ function enable_rrd_graphing() { } function kill_traffic_collector() { - mwexec("killall top", true); mwexec("killall rrdtool", true); - mwexec("/bin/pkill -f updaterrd.sh", true); + mwexec("/bin/pkill -a -f updaterrd.sh", true); } ?>