HTTP API - Get Device Status
POST https://gateway_ip/api/get_status
Request Parameters:
Parameter | Type | Description |
Required Parameter | ||
performance |
Response Parameters:
Parameter | Type | Description |
cpu_used | String | CPU usage |
flash_total | String | flash size |
flash_used | String | Used flash size |
memory_total | String | Memory size |
memory_cached | String | Cache size |
memory_buffers | String | Buffer size |
memory_free | String | Free memory size |
memory_used | String | Used memory size |
Example:
Request:
curl -k --anyauth -u admin:admin -d '["performance"]' -H "Content-Type: application/json" https://gateway_ip/api/get_status
Response:
{"performance":{"cpu_used":"39","flash_total":"27648","flash_used":"17428"," memory_total":"109448","memory_cached":"34192","memory_buffers":"0","memory_ free":"58928","memory_used":"50520"}}