---
title: "ezgh compute instances console-output"
description: "Print an instance's recent serial console output."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ezgh compute instances console-output

{/* Generated by ezgh-cli's internal/tools/clidocs from the ezgh command tree. Don't edit: change the command's help in ezgh-cli and regenerate. */}

```sh
ezgh compute instances console-output <instance>
```

Print the last 64 KiB of an instance's serial console output (kernel and boot messages, and anything else written to the serial port), as it was last captured. It's kept after the instance stops. The instance is given by ID (ins\_…) or name.

The output is printed as it is, control characters included. -o json or -o yaml prints the API's answer instead: output (base64), capturedAt, and truncated (whether earlier output was cut off).

Needs compute.instances.getConsoleOutput on the instance.

Part of [`ezgh compute instances`](/cli/reference/compute-instances).

## Flags

This command also takes the [global flags](/cli/reference#global-flags).

Source: https://docs.ezghcloud.com/cli/reference/compute-instances-console-output/index.mdx
