summaryrefslogtreecommitdiffstats
path: root/usr/local/www/index.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-02-15 22:57:41 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-02-15 22:57:41 +0000
commitb80900603d431fc39dd1c15e0b74f12e1639fbfa (patch)
treeb505b00a519b85dc23c8f8fcae18d430ed226a60 /usr/local/www/index.php
parent29a5799fb67388dd39e131b48e02462d604d9bfb (diff)
downloadpfsense-b80900603d431fc39dd1c15e0b74f12e1639fbfa.zip
pfsense-b80900603d431fc39dd1c15e0b74f12e1639fbfa.tar.gz
sleep for 3 seconds on status page giving the machine a little breathing room to calculate cpu usage correctly.
Diffstat (limited to 'usr/local/www/index.php')
-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 0a7734a..5977854 100755
--- a/usr/local/www/index.php
+++ b/usr/local/www/index.php
@@ -139,7 +139,7 @@ if ($fd) {
<td width="75%" class="listr">
<?php
$cpuTicks = explode(" ", `/sbin/sysctl -n kern.cp_time`);
-sleep(1);
+sleep(3);
$cpuTicks2 = explode(" ", `/sbin/sysctl -n kern.cp_time`);
$diff = array();
OpenPOWER on IntegriCloud