github.com/tompao/docker@v1.9.1/docs/reference/commandline/stats.md (about)

     1  <!--[metadata]>
     2  +++
     3  title = "stats"
     4  description = "The stats command description and usage"
     5  keywords = ["container, resource, statistics"]
     6  [menu.main]
     7  parent = "smn_cli"
     8  +++
     9  <![end-metadata]-->
    10  
    11  # stats
    12  
    13      Usage: docker stats [OPTIONS] CONTAINER [CONTAINER...]
    14  
    15      Display a live stream of one or more containers' resource usage statistics
    16  
    17        --help=false       Print usage
    18        --no-stream=false  Disable streaming stats and only pull the first result
    19  
    20  Running `docker stats` on multiple containers
    21  
    22      $ docker stats redis1 redis2
    23      CONTAINER           CPU %               MEM USAGE / LIMIT     MEM %               NET I/O             BLOCK I/O
    24      redis1              0.07%               796 KB / 64 MB        1.21%               788 B / 648 B       3.568 MB / 512 KB
    25      redis2              0.07%               2.746 MB / 64 MB      4.29%               1.266 KB / 648 B    12.4 MB / 0 B
    26  
    27  
    28  The `docker stats` command will only return a live stream of data for running
    29  containers. Stopped containers will not return any data.
    30  
    31  > **Note:**
    32  > If you want more detailed information about a container's resource
    33  > usage, use the API endpoint.