mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
29d01b7dde
We now advise people to configure docker group and add to sudo. Mac shouldn't use sudo. Removed sudo from command examples. Left in installation to be removed in installation doc sweep -- removing requires finer grain control. Signed-off-by: Mary Anthony <mary@docker.com>
28 lines
747 B
Markdown
28 lines
747 B
Markdown
% DOCKER(1) Docker User Manuals
|
|
% Docker Community
|
|
% JUNE 2014
|
|
# NAME
|
|
docker-stats - Display a live stream of one or more containers' resource usage statistics
|
|
|
|
# SYNOPSIS
|
|
**docker stats**
|
|
[**--help**]
|
|
CONTAINER [CONTAINER...]
|
|
|
|
# DESCRIPTION
|
|
|
|
Display a live stream of one or more containers' resource usage statistics
|
|
|
|
# OPTIONS
|
|
**--help**
|
|
Print usage statement
|
|
|
|
# EXAMPLES
|
|
|
|
Run **docker stats** with multiple containers.
|
|
|
|
$ docker stats redis1 redis2
|
|
CONTAINER CPU % MEM USAGE/LIMIT MEM % NET I/O
|
|
redis1 0.07% 796 KiB/64 MiB 1.21% 788 B/648 B
|
|
redis2 0.07% 2.746 MiB/64 MiB 4.29% 1.266 KiB/648 B
|
|
|