← Debugging382 / 640
hardgcloud

Read the serial port output from a Compute Engine VM to diagnose boot failures

command

gcloud compute instances get-serial-port-output INSTANCE_NAME --zone ZONE

also accepted

gcloud compute instances get-serial-port-output

Command breakdown

Part of the Google Cloud CLI (gcloud) — Debugging category.

gcloudcomputeinstancesget-serial-port-outputINSTANCE_NAME--zoneZONE
FlagPurpose
--zoneBoolean flag

Test your recall — not just your reading.

Practice with interactive quiz →