From 0219338781443883f67a8e4a166a2c9a82e5deee Mon Sep 17 00:00:00 2001 From: Misty Stanley-Jones Date: Wed, 31 Jan 2018 17:05:54 -0800 Subject: [PATCH] Explain the columns shown in docker stats Signed-off-by: Misty Stanley-Jones --- docs/reference/commandline/stats.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/reference/commandline/stats.md b/docs/reference/commandline/stats.md index b2bba3114ec2..d8d86da6a9c2 100644 --- a/docs/reference/commandline/stats.md +++ b/docs/reference/commandline/stats.md @@ -50,6 +50,18 @@ e5c383697914 test-1951.1.kay7x1lh1twk9c0oig50sd5tr 0.00% 4bda148efbc0 random.1.vnc8on831idyr42slu578u3cr 0.00% 1.672MiB / 1.952GiB 0.08% 110kB / 0B 578kB / 0B 2 ``` +If you don't [specify a format string using `--format`](#formatting), the +following columns are shown. + +| Column name | Description | +|---------------------------|-----------------------------------------------------------------------------------------------| +| `CONTAINER ID` and `Name` | the ID and name of the container | +| `CPU %` and `MEM %` | the percentage of the host's CPU and memory the container is using | +| `MEM USAGE / LIMIT` | the total memory the container is using, and the total amount of memory it is allowed to use | +| `NET I/O` | The amount of data the container has sent and received over its network interface | +| `BLOCK I/O` | The amount of data the container has read to and written from block devices on the host | +| `PIDs` | the number of processes or threads the container has created | + Running `docker stats` on multiple containers by name and id against a Linux daemon. ```bash