Skip to content

Instantly share code, notes, and snippets.

@cmerrick
Created March 1, 2016 17:35
Show Gist options
  • Save cmerrick/61f67a8a11608a845493 to your computer and use it in GitHub Desktop.
Save cmerrick/61f67a8a11608a845493 to your computer and use it in GitHub Desktop.
redshift-node-count
aws redshift describe-clusters | jq '.Clusters[] | .NumberOfNodes' | awk '{s+=$1} END {print s}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment