Last active
May 5, 2020 07:35
-
-
Save SQiShER/5d8cd3f14e4c72c39456 to your computer and use it in GitHub Desktop.
Docker stats with Container Names instead of IDs
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
docker stats $(docker inspect -f '{{.Name}}' $(docker ps -q) | cut -c 2-) |
❤️
docker stats --format "table {{.Name}}\t{{.Container}}\t{{.CPUPerc}}\t{{.MemPerc}}\t{{.NetIO}}\t{{.BlockIO}}"
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Source GitHub