Return system load average

This function retrieves the system's load average.

Note:

The values the function returns represent a percentage of the CPU's processor capacity.

Authorizations:

Responses

Response Schema: application/json
object
object

Request samples

whmapi1 --output=jsonpretty \
  systemloadavg

Response samples

Content type
application/json
{
  • "data": {
    • "fifteen": 0.19,
    • "five": 0.18,
    • "one": 0.17
    },
  • "metadata": {
    • "command": "systemloadavg",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}