/system/info

Use the interface to obtain CPU and memory information.

Request Mode

POST /api/system/info

Response Body

{
    "device-name": "USB Fusion",
    "uptime": 8410,
    "cpu": {
        "total": 1624896,
        "idle": 1281701,
        "usage": 2110
    },
    "mem": {
        "total": 8069612,
        "avail": 7171768
    },
    "datetime": {
        "cur-time": "2021-12-20 13:25:57",
        "zonename": "Asia/Shanghai",
        "ntp-enable": true,
        "ntp-server1": "0.pool.ntp.org",
        "ntp-server2": "1.pool.ntp.org"
    },
    "status": 0
}
Name Description
status 0 indicates that the request was accepted successfully. Refer to API Status Codes to find specific description for other values.
device-name The device's name
uptime The uptime, in seconds
cpu.total The total time of CPU
cpu.idle The idle time of CPU
cpu.usage The CPU usage x 100
mem.total The system's total memory, in KB
mem.avail The system's available memory, in KB
datetime.cur-time The system time
Time format: yyyy-MM-dd HH:mm:ss
datetime.zonename The timezone name
datetime.ntp-enable Enables NTP.
datetime.ntp-server1 The NTP server 1
datetime.ntp-server2 The NTP server 2

results matching ""

    No results matching ""