summaryrefslogtreecommitdiffstats
path: root/usr/local/www/includes
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-09-18 02:58:59 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-09-18 02:58:59 +0000
commit74474fec482d111f46ca0b5b77936a836f87c85c (patch)
tree05905e37ff4ba601791794238e7e8d8769997758 /usr/local/www/includes
parentbebade2db1884aa00f7ec573a41b384c94a2b2b3 (diff)
downloadpfsense-74474fec482d111f46ca0b5b77936a836f87c85c.zip
pfsense-74474fec482d111f46ca0b5b77936a836f87c85c.tar.gz
usleep instead of sleep
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 0ffbb79..c142340 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`);
- sleep(1);
+ usleep(5);
$cpuTicks2 = explode(" ", `/sbin/sysctl -n kern.cp_time`);
$diff = array();
OpenPOWER on IntegriCloud