From daaf143f6f11701686b0ae2feaaee311f697ab8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ermal=20Lu=C3=A7i?= Date: Sun, 1 Jun 2008 17:23:22 +0000 Subject: Remove the killall invocation to allow multiple users to view the stats. --- etc/inc/pfsense-utils.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'etc') diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index 0eb3463..2170028 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -1883,8 +1883,7 @@ function WakeOnLan($addr, $mac) * NOTE: this command takes 5 seconds to run */ function gather_altq_queue_stats($dont_return_root_queues) { - mwexec("/usr/bin/killall -9 pfctl"); - $stats = `/sbin/pfctl -vvsq & /bin/sleep 5;/usr/bin/killall pfctl 2>/dev/null`; + $stats = `/sbin/pfctl -vvsq & /bin/sleep 5`; $stats_array = split("\n", $stats); $queue_stats = array(); foreach ($stats_array as $stats_line) { -- cgit v1.1