From cb9e8e6064e19cb1e2ec4e4dd1bd50e6a0780ba0 Mon Sep 17 00:00:00 2001 From: Will Budic Date: Wed, 19 Feb 2020 21:20:35 +1100 Subject: [PATCH] Output corrected. --- htdocs/cgi-bin/stats.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/cgi-bin/stats.cgi b/htdocs/cgi-bin/stats.cgi index a039b5b..b8c24cc 100755 --- a/htdocs/cgi-bin/stats.cgi +++ b/htdocs/cgi-bin/stats.cgi @@ -106,7 +106,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 .= "$HS"; +$hardware_status .= "

$HS

"; 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 -`; -- 2.34.1