You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# returns the number of cores in the lauched cluster
aws ec2 describe-instances --filters "Name=instance-state-name,Values=pending,running" --query "Reservations[*].Instances[*].CpuOptions.[CoreCount]" --output text |python -c "import sys; print(sum(int(l) for l in sys.stdin))"