ec2-get-console-output
ec2-get-console-output INSTANCEID [-r]
Retrieve the console output for instance INSTANCEID, if available,
and display it to stdout
.
Two fields:
-
A timestamp indicating the time of the last update.
-
The instance console output. By default the
^ESC
character is escaped and duplicate new-lines are removed to facilitate reading.
Errors are displayed on stderr.
Option | Definition | Required? | Example |
---|---|---|---|
-r
|
Raw output. Do not escape the output to facilitate reading. | No |
$
ec2-get-console-output i-10a64379
2007-01-03 12:00:00 Linux version 2.6.16-xenU ([email protected]) (gcc version 4.0.1 20050727 (Red Hat 4.0.1-5)) #1 SMP Thu Oct 26 08:41:26 SAST 2006 BIOS-provided physical RAM map: Xen: 0000000000000000 - 000000006a400000 (usable) 980MB HIGHMEM available. 727MB LOWMEM available. NX (Execute Disable) protection: active IRQ lockup detection disabled Built 1 zonelists Kernel command line: root=/dev/sda1 ro 4 Enabling fast FPU save and restore... done.