github.com/slene/docker@v1.8.0-rc1/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  weight=1
     9  +++
    10  <![end-metadata]-->
    11  
    12  # stats
    13  
    14      Usage: docker stats CONTAINER [CONTAINER...]
    15  
    16      Display a live stream of one or more containers' resource usage statistics
    17  
    18        --help=false       Print usage
    19        --no-stream=false  Disable streaming stats and only pull the first result
    20  
    21  Running `docker stats` on multiple containers
    22  
    23      $ docker stats redis1 redis2
    24      CONTAINER           CPU %               MEM USAGE/LIMIT     MEM %               NET I/O
    25      redis1              0.07%               796 KB/64 MB        1.21%               788 B/648 B
    26      redis2              0.07%               2.746 MB/64 MB      4.29%               1.266 KB/648 B
    27  
    28  
    29  The `docker stats` command will only return a live stream of data for running
    30  containers. Stopped containers will not return any data.
    31  
    32  > **Note:**
    33  > If you want more detailed information about a container's resource
    34  > usage, use the API endpoint.