2015-01-19 19:10:26 -05:00
|
|
|
% DOCKER(1) Docker User Manuals
|
|
|
|
% Docker Community
|
|
|
|
% JUNE 2014
|
|
|
|
# NAME
|
2015-01-21 14:44:23 -05:00
|
|
|
docker-stats - Display a live stream of one or more containers' resource usage statistics
|
2015-01-19 19:10:26 -05:00
|
|
|
|
|
|
|
# SYNOPSIS
|
2015-01-20 21:13:47 -05:00
|
|
|
**docker stats**
|
2015-01-19 19:10:26 -05:00
|
|
|
[**--help**]
|
|
|
|
[CONTAINERS]
|
|
|
|
|
|
|
|
# DESCRIPTION
|
|
|
|
|
2015-01-21 14:44:23 -05:00
|
|
|
Display a live stream of one or more containers' resource usage statistics
|
2015-01-19 19:10:26 -05:00
|
|
|
|
2015-02-04 19:12:05 -05:00
|
|
|
Note: this functionality currently only works when using the *libcontainer* exec-driver.
|
|
|
|
|
2015-01-19 19:10:26 -05:00
|
|
|
# OPTIONS
|
|
|
|
**--help**
|
|
|
|
Print usage statement
|
|
|
|
|
|
|
|
# EXAMPLES
|
|
|
|
|
|
|
|
Run **docker stats** with multiple containers.
|
|
|
|
|
|
|
|
$ sudo 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
|
|
|
|
|