Runtime metrics (Engine)
Runtime metrics
Docker stats
You can use the docker stats
command to live stream a container’s runtime metrics. The command supports CPU, memory usage, memory limit, and network IO metrics.
The following is a sample output from the docker stats
command
$ docker stats redis1 redis2 CONTAINER CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O redis1 0.07% 796 KB / 64 MB 1.21% 788 B / 648 B 3.568 MB / 512 KB redis2 0.07% 2.746 MB / 64 MB 4.29% 1.266 KB / 648 B 12.4 MB / 0 B
The docker stats reference page has more details about the docker stats
command.
Control groups
Linux Containers rely on 登录查看完整内容