mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Use batch mode for top so it displays process list w/o terminal. Fixes #9522
While here, set a high number of processes to display and also remove the use of 'cut' which limited column length. With current display method it's unnecessary.
This commit is contained in:
parent
7729c5a163
commit
4b84c39dbe
@ -33,7 +33,7 @@ require_once("guiconfig.inc");
|
||||
$pgtitle = array(gettext("Diagnostics"), gettext("System Activity"));
|
||||
|
||||
if ($_REQUEST['getactivity']) {
|
||||
$text = `/usr/bin/top -aHS | /usr/bin/cut -c1-105`;
|
||||
$text = `/usr/bin/top -baHS 999`;
|
||||
header('Content-Type: text/plain; charset=UTF-8');
|
||||
echo $text;
|
||||
exit;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user