summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2008-06-01 17:23:22 +0000
committerErmal Luçi <eri@pfsense.org>2008-06-01 17:23:22 +0000
commitdaaf143f6f11701686b0ae2feaaee311f697ab8b (patch)
tree6924ffa16d2c3899e1340da3705a337812cbb6b0 /etc
parent7a1f24e36e0fc3028e57426f0f3cd0cfa00f455d (diff)
downloadpfsense-daaf143f6f11701686b0ae2feaaee311f697ab8b.zip
pfsense-daaf143f6f11701686b0ae2feaaee311f697ab8b.tar.gz
Remove the killall invocation to allow multiple users to view the stats.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/pfsense-utils.inc3
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) {
OpenPOWER on IntegriCloud