PHP » PYTHON |
login |
register |
about
|
PYTHON sys_getloadavg
is this article helpful?
|
Python replacement for PHP's sys_getloadavg
[
edit
| history
]
import os os.getloadavg() sys_getloadavg(PHP 5 >= 5.1.3) sys_getloadavg — Gets system load average Description
array sys_getloadavg
( void
)
Returns three samples representing the average system load (the number of processes in the system run queue) over the last 1, 5 and 15 minutes, respectively. Return ValuesReturns an array with three samples (last 1, 5 and 15 minutes). Examples
Example #1 A sys_getloadavg() example
<?php
Notes
|
more
Recently updated
more
Most requested
more
Last requests
|