From b202aabbc1a0e9c7bd70037e5dc0376c48604711 Mon Sep 17 00:00:00 2001 From: Will Budic Date: Tue, 25 Feb 2020 17:03:03 +1100 Subject: [PATCH] layout fix. --- htdocs/cgi-bin/stats.cgi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/cgi-bin/stats.cgi b/htdocs/cgi-bin/stats.cgi index 46ce769..f3a6b56 100755 --- a/htdocs/cgi-bin/stats.cgi +++ b/htdocs/cgi-bin/stats.cgi @@ -105,7 +105,7 @@ $hardware_status =~ s/\n//g; $hardware_status =~ s/Memory:/Memory:/g; $hardware_status =~ s/Init:/<\/b>Initial:/g; $hardware_status =~ s/up\s/Server is up: /g; -$hardware_status .= qq(
$HS
); +$hardware_status .= '
'; my $prc = 'ps -eo size,pid,user,command --sort -size | awk \'{ hr=$1/1024 ; printf("%13.2f Mb ",hr) } { for ( x=4 ; x<=NF ; x++ ) { printf("%s ",$x) } print "" }\''; my $processes = `$prc | sort -u -r -`; @@ -145,6 +145,7 @@ print qq(

Server Info



$hardware_status

+
$HS
Server Side Processes
-- 2.34.1