Cmd. /ps
Show background terminals and recent output.
Key takeaways
/pslists experimental background terminals and shows recent output so you can see what is still running.- Run it before
/stopto know what will be cancelled, and before exiting a session that started a dev server or long test run. /psinspects only session-owned background terminals, not every process on the machine.- Background terminals appear when the relevant exec mechanism is in use.
Original Command Declaration
/psOfficial Summary
/ps lists experimental background terminals and shows recent output so you can understand what is
still running.
Usage
/psGood Examples
- Run
/psbefore/stopso you know what will be cancelled. - Check
/psbefore exiting a session that started a dev server or long test run.
Similar 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 |
Use Cases
- Checking long-running tests.
- Finding leftover dev servers or watchers.
- Auditing background work before handoff or exit.
Cautions
- Background terminals appear when the relevant exec mechanism is in use.
/psinspects session-owned background terminals, not every process on the machine.
Release Basis
- Judgment: confirmed addition
- First evidence version:
rust-v0.76.0 - Date (UTC): 2025-12-19
- Release link: https://github.com/openai/codex/releases/tag/rust-v0.76.0
Sources
- Codex slash commands: https://developers.openai.com/codex/cli/slash-commands
- Codex CLI features: https://developers.openai.com/codex/cli/features