summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2005-09-15 02:11:08 +0000
committerBill Marquette <billm@pfsense.org>2005-09-15 02:11:08 +0000
commit9f0309d3ab54a3c781fdbce3358e12f07eb7b893 (patch)
tree585444ee8bddcec85bc21edfcc9af5e7dd268d53 /usr
parentf30ae5025cc6810ff24c72e35bf2ed9794a4086e (diff)
downloadpfsense-9f0309d3ab54a3c781fdbce3358e12f07eb7b893.zip
pfsense-9f0309d3ab54a3c781fdbce3358e12f07eb7b893.tar.gz
Sleeping 5 seconds is just way to long, seems to screw up the cpu usage
Diffstat (limited to 'usr')
-rw-r--r--usr/local/www/includes/functions.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/includes/functions.inc.php b/usr/local/www/includes/functions.inc.php
index 6456764..defe0a1 100644
--- a/usr/local/www/includes/functions.inc.php
+++ b/usr/local/www/includes/functions.inc.php
@@ -28,7 +28,7 @@ function get_uptime() {
}
function get_cputicks() {
- sleep(5);
+ sleep(1);
$cputicks = explode(" ", `/sbin/sysctl -n kern.cp_time`);
return $cputicks;
}
OpenPOWER on IntegriCloud