Skip to content

Instantly share code, notes, and snippets.

@joecannatti
Created March 21, 2016 20:06
Show Gist options
  • Save joecannatti/f156bdabcf002834b7b6 to your computer and use it in GitHub Desktop.
Save joecannatti/f156bdabcf002834b7b6 to your computer and use it in GitHub Desktop.
Count Heroku Process Types
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 "1"}' | xargs | sed 's/ /+/g'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment