ec2-get-console-output
ec2-get-console-output
instance_id
[-r]
Retrieves the console output for specified instance, if available,
and displays it to stdout
.
Option | Description | Required |
---|---|---|
|
Instance identifier generated when the instance lauched. Example: |
Yes |
|
Raw output. Do not escape the output to facilitate reading. |
No |
-
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.
Amazon EC2 displays errors on stderr.
This example retrieves the console output for the
i-10a64379
instance
$
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.