Print full output history from an axec session, optionally following live output. Use when you need the complete log or want to stream output in real time.
Print the full recorded output of a session. Optionally follow live output as it arrives.
axec cat [OPTIONS]
| Option | Description |
|---|---|
--session UUID|NAME | Target session (defaults to latest if omitted) |
--follow | After printing history, keep streaming live output |
--stderr | Print stderr instead of stdout (only with pipe backend) |
--json | Emit structured JSON response |
axec cat --session build
axec cat --session build --stderr
axec cat --session server --follow
axec cat
axec cat | axec output | |
|---|---|---|
| Scope | Full history from session start | Only unread since last call |
| Cursor | Does not advance read cursor | Advances read cursor |
| Use case | Review complete log, stream live | Incremental polling |
cat to review the complete output of a session.cat --follow to monitor a long-running process in real time.cat --stderr only with --backend pipe sessions — pty backend merges stderr into stdout.output instead when you only want new, unread content.