This request returns the CueServer’s internal operating system SysInfo structure. This structure contains detailed information about the device’s uptime, CPU load, RAM usage, processes and more.
URL:
/get.cgi?req=cpu
Response:
The following data structure will be returned by this request.
typedef struct SysInfo { // (64 bytes)
uint32_t uptime; // Seconds since boot
uint32_t loads[3]; // 1, 5, and 15 minutes load averages
uint32_t totalRAM; // Total usable main memory size
uint32_t freeRAM; // Available memory size
uint32_t sharedRAM; // Amount of shared memory
uint32_t bufferRAM; // Memory used by buffers
uint32_t totalSwap; // Total swap space size
uint32_t freeSwap; // Swap space still available
uint16_t procs; // Number of current processes
uint16_t reserved1; // -
uint32_t totalHigh; // Total high memory size
uint32_t freeHigh; // Available high memory size
uint32_t memUnit; // Memory unit size in bytes
uint8_t reserved2[8]; // -
} SysInfo;
Errors:
If an error occurs during the processing of the request, only a single byte will be returned by this URL. The value of the returned byte is explained in the following table:
| Error Value | Description |
|---|---|
0xFF |
An unspecified error occurred. |

