diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-09-18 02:58:59 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-09-18 02:58:59 +0000 |
commit | 74474fec482d111f46ca0b5b77936a836f87c85c (patch) | |
tree | 05905e37ff4ba601791794238e7e8d8769997758 /usr/local | |
parent | bebade2db1884aa00f7ec573a41b384c94a2b2b3 (diff) | |
download | pfsense-74474fec482d111f46ca0b5b77936a836f87c85c.zip pfsense-74474fec482d111f46ca0b5b77936a836f87c85c.tar.gz |
usleep instead of sleep
Diffstat (limited to 'usr/local')
-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 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(); |