Skip to content

Instantly share code, notes, and snippets.

@jamesBan
Created June 9, 2017 02:36
Show Gist options
  • Select an option

  • Save jamesBan/ae88e192f7a9dc251f4aaddd02ea2eac to your computer and use it in GitHub Desktop.

Select an option

Save jamesBan/ae88e192f7a9dc251f4aaddd02ea2eac to your computer and use it in GitHub Desktop.
docker-stat.sh
#!/bin/bash
docker stats $(docker ps | awk '{if(NR>1) print $NF}')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment