summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-03-02 02:03:51 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-03-02 02:03:51 +0000
commit795ca78bfd752e91ca42155dcd4035da80f6818a (patch)
tree9e0a71018c9851dbb66c87f9d4e16bb2454482af
parent275c49324dac9463f24b7274877a31043ab2e8e1 (diff)
downloadpfsense-795ca78bfd752e91ca42155dcd4035da80f6818a.zip
pfsense-795ca78bfd752e91ca42155dcd4035da80f6818a.tar.gz
Turn the stats line into a comment for further debugging if need be.
-rwxr-xr-xusr/local/www/index.php2
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);
OpenPOWER on IntegriCloud