while true; do docker stats --format "{{.Container}}\t{{.CPUPerc}}\t{{.MemUsage}}" >> stats.txt; done
Created
November 5, 2018 23:53
-
-
Save joshuacook/af8fb7654984cab509ce4b4b63e12b4c to your computer and use it in GitHub Desktop.
Write the Output of docker stats to a file
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment