Slabs
Method GET

Return status of a slab

Returns status of slabs for a particular shared memory zone with slab allocator.

get/slabs/{slabZoneName}

Query parameters

fieldsstring

Limits which fields of the slab zone will be output.

Response

Success

slotsobject

Status data for memory slots (8, 16, 32, 64, 128, etc.)

Example response

{
  "pages": {
    "used": 1143,
    "free": 2928
  },
  "slots": {
    "8": {
      "used": 0,
      "free": 0,
      "reqs": 0,
      "fails": 0
    },
    "16": {
      "used": 0,
      "free": 0,
      "reqs": 0,
      "fails": 0
    },
    "32": {
      "used": 0,
      "free": 0,
      "reqs": 0,
      "fails": 0
    },
    "64": {
      "used": 1,
      "free": 63,
      "reqs": 1,
      "fails": 0
    },
    "128": {
      "used": 0,
      "free": 0,
      "reqs": 0,
      "fails": 0
    },
    "256": {
      "used": 18078,
      "free": 178,
      "reqs": 1635736,
      "fails": 0
    }
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.