Created
June 25, 2017 19:39
-
-
Save fuzzygroup/e000a972a999b406a38557324e11d1c0 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
#!/bin/bash | |
docker stats --format "table {{.Container}}\t{{.CPUPerc}}\t{{.MemUsage}}" $(docker ps|grep -v "NAMES"|awk '{ print $NF }'|tr "\n" " ") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Make this executable and use it to easily get decent container cpu / memory metrics