diff options
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/index.php b/usr/local/www/index.php index ddb8f75..780cbe4 100755 --- a/usr/local/www/index.php +++ b/usr/local/www/index.php @@ -150,7 +150,7 @@ $diff['sys'] = ($cpuTicks2[2] - $cpuTicks[2])+1; $diff['intr'] = ($cpuTicks2[3] - $cpuTicks[3])+1; $diff['idle'] = ($cpuTicks2[4] - $cpuTicks[4])+1; -echo "<-- user: {$diff['user']} nice {$diff['nice']} sys {$diff['sys']} intr {$diff['intr']} idle {$diff['idle']} -->"; +echo "<!-- user: {$diff['user']} nice {$diff['nice']} sys {$diff['sys']} intr {$diff['intr']} idle {$diff['idle']} -->"; $totalDiff = $diff['user'] + $diff['nice'] + $diff['sys'] + $diff['intr'] + $diff['idle']; $cpuUsage = round(100 * (1 - $diff['idle'] / $totalDiff), 0); |