diff options
author | Ermal Luçi <eri@pfsense.org> | 2008-06-01 17:23:22 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2008-06-01 17:23:22 +0000 |
commit | daaf143f6f11701686b0ae2feaaee311f697ab8b (patch) | |
tree | 6924ffa16d2c3899e1340da3705a337812cbb6b0 | |
parent | 7a1f24e36e0fc3028e57426f0f3cd0cfa00f455d (diff) | |
download | pfsense-daaf143f6f11701686b0ae2feaaee311f697ab8b.zip pfsense-daaf143f6f11701686b0ae2feaaee311f697ab8b.tar.gz |
Remove the killall invocation to allow multiple users to view the stats.
-rw-r--r-- | etc/inc/pfsense-utils.inc | 3 |
1 files changed, 1 insertions, 2 deletions
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) { |