Project

General

Profile

« Previous | Next » 

Revision 6fa67e54

Added by Ermal Luçi over 16 years ago

Actually get the whole command output.

View differences:

etc/inc/pfsense-utils.inc
1953 1953
 *                             NOTE: this command takes 5 seconds to run
1954 1954
 */
1955 1955
function gather_altq_queue_stats($dont_return_root_queues) {
1956
	$stats = exec("/sbin/pfctl -vvsq");
1956
	exec("/sbin/pfctl -vvsq", $stats);
1957 1957
	$stats_array = split("\n", $stats);
1958 1958
	$queue_stats = array();
1959 1959
	foreach ($stats_array as $stats_line) {

Also available in: Unified diff