---
title: "List processes running inside a container"
method: GET
path: "/containers/{id}/top"
tags: ["Container"]
---

# List processes running inside a container

`GET /containers/{id}/top`

On Unix systems, this is done by running the `ps` command. This endpoint is not supported on Windows.

## Path parameters

- `id` string, required

## Query parameters

- `ps_args` string

## Response `200`

no error

- object
  - `Processes` array[] — Each process running in the container, where each is process is an array of values corresponding to the titles
    - string[]
  - `Titles` string[] — The ps column titles

## Other responses

- `404` — no such container
- `500` — server error

---

[API](https://skmtc.net/docker/apis/engine.md) · [All operations](https://skmtc.net/docker/apis/engine/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/docker/engine/versions/400730735b03/schema)
