Search or ask Docker

ContainerTopResponse

ContainerTopResponse schema in Docker Engine API 1.57.

View Markdown

Schema

Type: object

Container "top" response.
Processes

Type: array

Each process running in the container, where each process is an array of values corresponding to the titles.
Array item

Type: array

Array item

Type: string

All schema constraints and annotations
{
  "type": "string"
}
All schema constraints and annotations
{
  "items": {
    "type": "string"
  },
  "type": "array"
}
All schema constraints and annotations
{
  "description": "Each process running in the container, where each process\nis an array of values corresponding to the titles.",
  "example": {
    "Processes": [
      [
        "root",
        "13642",
        "882",
        "0",
        "17:03",
        "pts/0",
        "00:00:00",
        "/bin/bash"
      ],
      [
        "root",
        "13735",
        "13642",
        "0",
        "17:06",
        "pts/0",
        "00:00:00",
        "sleep 10"
      ]
    ]
  },
  "items": {
    "items": {
      "type": "string"
    },
    "type": "array"
  },
  "type": "array"
}
Titles

Type: array

The ps column titles
Array item

Type: string

All schema constraints and annotations
{
  "type": "string"
}
All schema constraints and annotations
{
  "description": "The ps column titles",
  "example": {
    "Titles": [
      "UID",
      "PID",
      "PPID",
      "C",
      "STIME",
      "TTY",
      "TIME",
      "CMD"
    ]
  },
  "items": {
    "type": "string"
  },
  "type": "array"
}
All schema constraints and annotations
{
  "description": "Container \"top\" response.",
  "properties": {
    "Processes": {
      "description": "Each process running in the container, where each process\nis an array of values corresponding to the titles.",
      "example": {
        "Processes": [
          [
            "root",
            "13642",
            "882",
            "0",
            "17:03",
            "pts/0",
            "00:00:00",
            "/bin/bash"
          ],
          [
            "root",
            "13735",
            "13642",
            "0",
            "17:06",
            "pts/0",
            "00:00:00",
            "sleep 10"
          ]
        ]
      },
      "items": {
        "items": {
          "type": "string"
        },
        "type": "array"
      },
      "type": "array"
    },
    "Titles": {
      "description": "The ps column titles",
      "example": {
        "Titles": [
          "UID",
          "PID",
          "PPID",
          "C",
          "STIME",
          "TTY",
          "TIME",
          "CMD"
        ]
      },
      "items": {
        "type": "string"
      },
      "type": "array"
    }
  },
  "title": "ContainerTopResponse",
  "type": "object",
  "x-go-name": "TopResponse"
}