Advertisement
Guest User

Untitled

a guest
Jan 18th, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. gcloud compute instances list --filter=RUNNING --uri | sort
  2. gcloud compute instances list --format yaml --filter=RUNNING
  3. gcloud compute instances list --format yaml --filter=TERMINATED
  4.  
  5. gcloud compute instances list --format yaml | grep -E '^(name|machineType|status): .*' | sed -r 's/machineType/\nmachineType/g;'
  6.  
  7. gcloud compute instances list --filter=RUNNING --filter=haproxy,sshd
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement