Search or ask Docker

ContainerBlkioStats

ContainerBlkioStats schema in Docker Engine API 1.57.

View Markdown

Schema

Type: object

BlkioStats stores all IO service stats for data read and write.

This type is Linux-specific and holds many fields that are specific to cgroups v1. On a cgroup v2 host, all fields other than io_service_bytes_recursive are omitted or null.

This type is only populated on Linux and omitted for Windows containers.

io_merged_recursive

Type: array

This field is only available when using Linux containers with cgroups v1. It is omitted or null when using cgroups v2.
Array item

Schema: ContainerBlkioStatEntry

All schema constraints and annotations
{
  "description": "This field is only available when using Linux containers with\ncgroups v1. It is omitted or `null` when using cgroups v2.\n",
  "items": {
    "$ref": "#/components/schemas/ContainerBlkioStatEntry"
  },
  "type": "array",
  "x-nullable": true
}
io_queue_recursive

Type: array

This field is only available when using Linux containers with cgroups v1. It is omitted or null when using cgroups v2.
Array item

Schema: ContainerBlkioStatEntry

All schema constraints and annotations
{
  "description": "This field is only available when using Linux containers with\ncgroups v1. It is omitted or `null` when using cgroups v2.\n",
  "items": {
    "$ref": "#/components/schemas/ContainerBlkioStatEntry"
  },
  "type": "array",
  "x-nullable": true
}
io_service_bytes_recursive

Type: array

Array item

Schema: ContainerBlkioStatEntry

All schema constraints and annotations
{
  "items": {
    "$ref": "#/components/schemas/ContainerBlkioStatEntry"
  },
  "type": "array"
}
io_service_time_recursive

Type: array

This field is only available when using Linux containers with cgroups v1. It is omitted or null when using cgroups v2.
Array item

Schema: ContainerBlkioStatEntry

All schema constraints and annotations
{
  "description": "This field is only available when using Linux containers with\ncgroups v1. It is omitted or `null` when using cgroups v2.\n",
  "items": {
    "$ref": "#/components/schemas/ContainerBlkioStatEntry"
  },
  "type": "array",
  "x-nullable": true
}
io_serviced_recursive

Type: array

This field is only available when using Linux containers with cgroups v1. It is omitted or null when using cgroups v2.
Array item

Schema: ContainerBlkioStatEntry

All schema constraints and annotations
{
  "description": "This field is only available when using Linux containers with\ncgroups v1. It is omitted or `null` when using cgroups v2.\n",
  "items": {
    "$ref": "#/components/schemas/ContainerBlkioStatEntry"
  },
  "type": "array",
  "x-nullable": true
}
io_time_recursive

Type: array

This field is only available when using Linux containers with cgroups v1. It is omitted or null when using cgroups v2.
Array item

Schema: ContainerBlkioStatEntry

All schema constraints and annotations
{
  "description": "This field is only available when using Linux containers with\ncgroups v1. It is omitted or `null` when using cgroups v2.\n",
  "items": {
    "$ref": "#/components/schemas/ContainerBlkioStatEntry"
  },
  "type": "array",
  "x-nullable": true
}
io_wait_time_recursive

Type: array

This field is only available when using Linux containers with cgroups v1. It is omitted or null when using cgroups v2.
Array item

Schema: ContainerBlkioStatEntry

All schema constraints and annotations
{
  "description": "This field is only available when using Linux containers with\ncgroups v1. It is omitted or `null` when using cgroups v2.\n",
  "items": {
    "$ref": "#/components/schemas/ContainerBlkioStatEntry"
  },
  "type": "array",
  "x-nullable": true
}
sectors_recursive

Type: array

This field is only available when using Linux containers with cgroups v1. It is omitted or null when using cgroups v2.
Array item

Schema: ContainerBlkioStatEntry

All schema constraints and annotations
{
  "description": "This field is only available when using Linux containers with\ncgroups v1. It is omitted or `null` when using cgroups v2.\n",
  "items": {
    "$ref": "#/components/schemas/ContainerBlkioStatEntry"
  },
  "type": "array",
  "x-nullable": true
}
All schema constraints and annotations
{
  "description": "BlkioStats stores all IO service stats for data read and write.\n\nThis type is Linux-specific and holds many fields that are specific to cgroups v1.\nOn a cgroup v2 host, all fields other than `io_service_bytes_recursive`\nare omitted or `null`.\n\nThis type is only populated on Linux and omitted for Windows containers.\n",
  "example": {
    "io_merged_recursive": null,
    "io_queue_recursive": null,
    "io_service_bytes_recursive": [
      {
        "major": 254,
        "minor": 0,
        "op": "read",
        "value": 7593984
      },
      {
        "major": 254,
        "minor": 0,
        "op": "write",
        "value": 100
      }
    ],
    "io_service_time_recursive": null,
    "io_serviced_recursive": null,
    "io_time_recursive": null,
    "io_wait_time_recursive": null,
    "sectors_recursive": null
  },
  "properties": {
    "io_merged_recursive": {
      "description": "This field is only available when using Linux containers with\ncgroups v1. It is omitted or `null` when using cgroups v2.\n",
      "items": {
        "$ref": "#/components/schemas/ContainerBlkioStatEntry"
      },
      "type": "array",
      "x-nullable": true
    },
    "io_queue_recursive": {
      "description": "This field is only available when using Linux containers with\ncgroups v1. It is omitted or `null` when using cgroups v2.\n",
      "items": {
        "$ref": "#/components/schemas/ContainerBlkioStatEntry"
      },
      "type": "array",
      "x-nullable": true
    },
    "io_service_bytes_recursive": {
      "items": {
        "$ref": "#/components/schemas/ContainerBlkioStatEntry"
      },
      "type": "array"
    },
    "io_service_time_recursive": {
      "description": "This field is only available when using Linux containers with\ncgroups v1. It is omitted or `null` when using cgroups v2.\n",
      "items": {
        "$ref": "#/components/schemas/ContainerBlkioStatEntry"
      },
      "type": "array",
      "x-nullable": true
    },
    "io_serviced_recursive": {
      "description": "This field is only available when using Linux containers with\ncgroups v1. It is omitted or `null` when using cgroups v2.\n",
      "items": {
        "$ref": "#/components/schemas/ContainerBlkioStatEntry"
      },
      "type": "array",
      "x-nullable": true
    },
    "io_time_recursive": {
      "description": "This field is only available when using Linux containers with\ncgroups v1. It is omitted or `null` when using cgroups v2.\n",
      "items": {
        "$ref": "#/components/schemas/ContainerBlkioStatEntry"
      },
      "type": "array",
      "x-nullable": true
    },
    "io_wait_time_recursive": {
      "description": "This field is only available when using Linux containers with\ncgroups v1. It is omitted or `null` when using cgroups v2.\n",
      "items": {
        "$ref": "#/components/schemas/ContainerBlkioStatEntry"
      },
      "type": "array",
      "x-nullable": true
    },
    "sectors_recursive": {
      "description": "This field is only available when using Linux containers with\ncgroups v1. It is omitted or `null` when using cgroups v2.\n",
      "items": {
        "$ref": "#/components/schemas/ContainerBlkioStatEntry"
      },
      "type": "array",
      "x-nullable": true
    }
  },
  "type": "object",
  "x-go-name": "BlkioStats",
  "x-nullable": true
}