Returns load averages from uptime(1).
The function returns the following error codes:
E_FORMAT
if output format is unexpected.E_PLATFORM
if current system is not FreeBSD.E_READ
if pipe returned no bytes.E_SYSTEM
if system call failed.Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real, | intent(out), | optional | :: | avg1 |
Average, 1 min. |
|
real, | intent(out), | optional | :: | avg5 |
Average, 5 min. |
|
real, | intent(out), | optional | :: | avg15 |
Average, 15 min. |