diff options
author | jim-p <jimp@pfsense.org> | 2013-07-29 13:53:53 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2013-07-29 14:30:21 -0400 |
commit | c772dc10a3c370e3d8606435e2f89daf72382102 (patch) | |
tree | 38f6ecc48d5506a53e9ab2a61825b6cd4a76727d /usr/local/www/diag_system_activity.php | |
parent | 308045d914944d2f57d73ca107659d98a1b95231 (diff) | |
download | pfsense-c772dc10a3c370e3d8606435e2f89daf72382102.zip pfsense-c772dc10a3c370e3d8606435e2f89daf72382102.tar.gz |
Show full process arguments in system activity output, but limit output to 105 chars wide so it does not spill out of its background area.
Diffstat (limited to 'usr/local/www/diag_system_activity.php')
-rw-r--r-- | usr/local/www/diag_system_activity.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/diag_system_activity.php b/usr/local/www/diag_system_activity.php index 272a7da..8fd2eba 100644 --- a/usr/local/www/diag_system_activity.php +++ b/usr/local/www/diag_system_activity.php @@ -46,7 +46,7 @@ $pfSversion = str_replace("\n", "", file_get_contents("/etc/version")); $pgtitle = gettext("Diagnostics: System Activity"); if($_REQUEST['getactivity']) { - $text = `/usr/bin/top -HS`; + $text = `/usr/bin/top -aHS | cut -c1-105`; echo $text; exit; } |