Search or ask Docker

ContainerPidsStats

ContainerPidsStats schema in Docker Engine API 1.57.

View Markdown

Schema

Type: object

PidsStats contains Linux-specific stats of a container's process-IDs (PIDs).

This type is Linux-specific and omitted for Windows containers.

current

Type: integer

Current is the number of PIDs in the cgroup.
All schema constraints and annotations
{
  "description": "Current is the number of PIDs in the cgroup.\n",
  "example": 5,
  "format": "uint64",
  "type": "integer",
  "x-nullable": true
}
limit

Type: integer

Limit is the hard limit on the number of pids in the cgroup. A "Limit" of 0 means that there is no limit.
All schema constraints and annotations
{
  "description": "Limit is the hard limit on the number of pids in the cgroup.\nA \"Limit\" of 0 means that there is no limit.\n",
  "example": "18446744073709551615",
  "format": "uint64",
  "type": "integer",
  "x-nullable": true
}
All schema constraints and annotations
{
  "description": "PidsStats contains Linux-specific stats of a container's process-IDs (PIDs).\n\nThis type is Linux-specific and omitted for Windows containers.\n",
  "properties": {
    "current": {
      "description": "Current is the number of PIDs in the cgroup.\n",
      "example": 5,
      "format": "uint64",
      "type": "integer",
      "x-nullable": true
    },
    "limit": {
      "description": "Limit is the hard limit on the number of pids in the cgroup.\nA \"Limit\" of 0 means that there is no limit.\n",
      "example": "18446744073709551615",
      "format": "uint64",
      "type": "integer",
      "x-nullable": true
    }
  },
  "type": "object",
  "x-go-name": "PidsStats",
  "x-nullable": true
}