Returns CPU idle time from vmstat(8). The procedure runs for > 0.1 sec!
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 reading failed or pipe returned no bytes.E_SYSTEM if system call failed.| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(out) | :: | idle | Idle time [%]. |