Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
docker stats --format "table {{.Container}}\t{{.CPUPerc}}\t{{.MemUsage}}" $(docker ps|grep -v "NAMES"|awk '{ print $NF }'|tr "\n" " ")
Copy link

fuzzygroup commented Jun 25, 2017

Make this executable and use it to easily get decent container cpu / memory metrics

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment