diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-03-02 02:03:51 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-03-02 02:03:51 +0000 |
commit | 795ca78bfd752e91ca42155dcd4035da80f6818a (patch) | |
tree | 9e0a71018c9851dbb66c87f9d4e16bb2454482af /usr | |
parent | 275c49324dac9463f24b7274877a31043ab2e8e1 (diff) | |
download | pfsense-795ca78bfd752e91ca42155dcd4035da80f6818a.zip pfsense-795ca78bfd752e91ca42155dcd4035da80f6818a.tar.gz |
Turn the stats line into a comment for further debugging if need be.
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); |