Skip to content
On this page

Retrieve memory

Endpoint

GET /v1/mems

Retrieves the virtual and swap memory usage of a Raspberry Pi

Responses

json
{
   "swapMemTotal":{
      "type":"uint64"
   },
   "swapMemUsed":{
      "type":"uint64"
   },
   "swapMemFree":{
      "type":"uint64"
   },
   "swapMemUsedPercent":{
      "type":"float64"
   },
   "virtMemTotal":{
      "type":"uint64"
   },
   "virtMemUsed":{
      "type":"uint64"
   },
   "virtMemFree":{
      "type":"uint64"
   },
   "virtMemUsedPercent":{
      "type":"float64"
   },
}