github.com/go/docker@v1.12.0-rc2/man/docker-stats.1.md (about)

     1  % DOCKER(1) Docker User Manuals
     2  % Docker Community
     3  % JUNE 2014
     4  # NAME
     5  docker-stats - Display a live stream of one or more containers' resource usage statistics
     6  
     7  # SYNOPSIS
     8  **docker stats**
     9  [**-a**|**--all**]
    10  [**--help**]
    11  [**--no-stream**]
    12  [CONTAINER...]
    13  
    14  # DESCRIPTION
    15  
    16  Display a live stream of one or more containers' resource usage statistics
    17  
    18  # OPTIONS
    19  **-a**, **--all**=*true*|*false*
    20     Show all containers. Only running containers are shown by default. The default is *false*.
    21  
    22  **--help**
    23    Print usage statement
    24  
    25  **--no-stream**=*true*|*false*
    26    Disable streaming stats and only pull the first result, default setting is false.
    27  
    28  # EXAMPLES
    29  
    30  Running `docker stats` on all running containers
    31  
    32      $ docker stats
    33      CONTAINER           CPU %               MEM USAGE / LIMIT     MEM %               NET I/O             BLOCK I/O
    34      1285939c1fd3        0.07%               796 KiB / 64 MiB        1.21%               788 B / 648 B       3.568 MB / 512 KB
    35      9c76f7834ae2        0.07%               2.746 MiB / 64 MiB      4.29%               1.266 KB / 648 B    12.4 MB / 0 B
    36      d1ea048f04e4        0.03%               4.583 MiB / 64 MiB      6.30%               2.854 KB / 648 B    27.7 MB / 0 B
    37  
    38  Running `docker stats` on multiple containers by name and id.
    39  
    40      $ docker stats fervent_panini 5acfcb1b4fd1
    41      CONTAINER           CPU %               MEM USAGE/LIMIT     MEM %               NET I/O
    42      5acfcb1b4fd1        0.00%               115.2 MiB/1.045 GiB   11.03%              1.422 kB/648 B
    43      fervent_panini      0.02%               11.08 MiB/1.045 GiB   1.06%               648 B/648 B