rpk ai sandbox ps
List the processes the sandbox runtime tracks: those started by shell, exec
and the agent’s sandbox tools, not every OS process. For OS processes, run
rpk ai sandbox exec SANDBOX — ps aux.
Only running processes are listed; --all adds those that exited in the last
15 minutes. The sandbox keeps 64 processes at most. ID is what attach takes.
The table shortens long commands; -o wide, json and yaml show them whole.
Requires Sandbox.list_processes on the sandbox.
Examples
This section provides examples of how to use rpk ai sandbox ps.
rpk ai sandbox ps dev
rpk ai sandbox ps dev --all -o wide
Flags
| Value | Type | Description |
|---|---|---|
|
bool |
Include the processes that exited in the last 15 minutes. |
Global flags
| Value | Type | Description |
|---|---|---|
|
string |
Redpanda or |
|
stringArray |
Override |
|
bool |
Ignore |
|
string |
|
|
bool |
Enable verbose logging. |