Exit cli when all containers when no more containers to monitor

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
Upstream-commit: 4b173199fde99a2b275421ed070b0ec004730e35
Component: engine
This commit is contained in:
Michael Crosby
2015-01-20 18:13:47 -08:00
parent b793c28c03
commit 6bc1b160e8
3 changed files with 16 additions and 10 deletions

View File

@ -5,7 +5,7 @@
docker-stats - Display live container stats based on resource usage.
# SYNOPSIS
**docker top**
**docker stats**
[**--help**]
[CONTAINERS]
@ -26,7 +26,3 @@ Run **docker stats** with multiple containers.
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
# HISTORY
April 2014, Originally compiled by William Henry (whenry at redhat dot com)
based on docker.com source material and internal work.
June 2014, updated by Sven Dowideit <SvenDowideit@home.org.au>