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:42 -0400 |
commit | 0af84753e9571b32c9978f0f655dc22f7d417325 (patch) | |
tree | 5632b6c248bc32db630090ca3cba7231a92acc70 | |
parent | 4d4a9bc798faf746627bc081d29f1c198a7f93d5 (diff) | |
download | pfsense-0af84753e9571b32c9978f0f655dc22f7d417325.zip pfsense-0af84753e9571b32c9978f0f655dc22f7d417325.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.
-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; } |