Created
March 21, 2016 20:06
-
-
Save joecannatti/7381fab1169b9fa836df to your computer and use it in GitHub Desktop.
Count Heroku Dynos for an Org
This file contains hidden or 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
for app in `heroku apps --org stitchfix-enterprise | tail -n +2`; do heroku ps:type -a $app | grep -v cost/mo | grep -v -- -----; done | awk '{print $3}' | xargs | sed 's/ /+/g' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment