]> lifelog.hopto.org Git - LifeLog.git/commitdiff
Output corrected.
authorWill Budic <redacted>
Wed, 19 Feb 2020 10:20:35 +0000 (21:20 +1100)
committerWill Budic <redacted>
Wed, 19 Feb 2020 10:20:35 +0000 (21:20 +1100)
htdocs/cgi-bin/stats.cgi

index a039b5b7ff5d85d7ec0e56b6efe7e7ea6e8bc002..b8c24cc30295f68e0daaf873a57d7b62ca87ba1d 100755 (executable)
@@ -106,7 +106,7 @@ $hardware_status =~ s/\n/<br\/>/g;
 $hardware_status =~ s/Memory:/<b>Memory:/g;
 $hardware_status =~ s/Init:/<\/b>Initial:/g;
 $hardware_status =~ s/up\s/<b>Server is up: /g;
-$hardware_status .= "</b>$HS";
+$hardware_status .= "</b><p>$HS</p>";
 
 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 -`;