diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-09-18 03:22:23 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-09-18 03:22:23 +0000 |
commit | d716fb2b64f8535b32c20a6e828c469d4de1dfc6 (patch) | |
tree | 7228776983ca3fec6dd408d94dc9ad038c093d97 /usr | |
parent | 6e91cf316fb1cff4c7c9cc1a3651eb8e78d597dc (diff) | |
download | pfsense-d716fb2b64f8535b32c20a6e828c469d4de1dfc6.zip pfsense-d716fb2b64f8535b32c20a6e828c469d4de1dfc6.tar.gz |
backout to sleep(1) in between cp_time
Diffstat (limited to 'usr')
-rw-r--r-- | usr/local/www/includes/functions.inc.php | 2 |
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(); |