Cmd. /ps
Show background terminals and recent output.
Key takeaways
- Show background terminals and recent output.
- Check the input surface and availability before using the examples below.
Purpose
Show background terminals and recent output.
/psAvailability
| Field | Value |
|---|---|
| Input surface | Running CLI prompt |
| Kind | Built-in |
| Status | Current reference |
| Aliases | — |
| Documented minimum | Not specified |
| Reviewed against | 2026-09-22 · Codex CLI 0.155.1 |
The installed command menu and account or organization settings determine availability.
Examples
/psWhen to use it
- Run
/psbefore/stopso you know what will be cancelled. - Check
/psbefore exiting a session that started a dev server or long test run.
Choosing related commands
| Command | Difference | Choose It When |
|---|---|---|
/ps | Shows background terminals | You need to inspect running work |
/stop | Stops background terminals | You need to cancel session-owned work |
/status | Shows session state | You need model, policy, or token state |
Effects and persistence
Lists background terminal work in the current session.
/ps lists experimental background terminals and shows recent output so you can understand what is
still running.
Cautions
- Background terminals appear when the relevant exec mechanism is in use.
/psinspects session-owned background terminals, not every process on the machine.
Official sources
Complete command list · Verification scope · History for this command