Created
January 11, 2018 07:26
-
-
Save bobwei/b379b760a2e8db9699ec5f1cbee886e5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export CONTAINER_NAME= | |
docker stats --format "table {{.Name}}\t{{.CPUPerc}}\t{{.MemUsage}}" $(docker ps --filter=name=${CONTAINER_NAME} -q) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment