summaryrefslogtreecommitdiffstats
path: root/usr/local/www/includes
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-09-18 03:22:23 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-09-18 03:22:23 +0000
commitd716fb2b64f8535b32c20a6e828c469d4de1dfc6 (patch)
tree7228776983ca3fec6dd408d94dc9ad038c093d97 /usr/local/www/includes
parent6e91cf316fb1cff4c7c9cc1a3651eb8e78d597dc (diff)
downloadpfsense-d716fb2b64f8535b32c20a6e828c469d4de1dfc6.zip
pfsense-d716fb2b64f8535b32c20a6e828c469d4de1dfc6.tar.gz
backout to sleep(1) in between cp_time
Diffstat (limited to 'usr/local/www/includes')
-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 79af60c..0ffbb79 100644
--- a/usr/local/www/includes/functions.inc.php
+++ b/usr/local/www/includes/functions.inc.php
@@ -29,7 +29,7 @@ function get_uptime() {
function cpu_usage() {
$cpuTicks = explode(" ", `/sbin/sysctl -n kern.cp_time`);
- usleep(255);
+ sleep(1);
$cpuTicks2 = explode(" ", `/sbin/sysctl -n kern.cp_time`);
$diff = array();
OpenPOWER on IntegriCloud