Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/bin/bash
docker stats --format "table {{.Container}}\t{{.CPUPerc}}\t{{.MemUsage}}" $(docker ps|grep -v "NAMES"|awk '{ print $NF }'|tr "\n" " ")
@fuzzygroup

This comment has been minimized.

Copy link
Owner Author

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
You can’t perform that action at this time.