microagent ps
Last updated: 2026-07-30
microagent ps [--state-dir <dir>]ps prints the live workspace view: workspaces whose VM state is starting,
running, paused, quarantined, or stopping. It does not show stopped persistent
workspaces. Use list for the full saved-workspace inventory.
Examples
Section titled “Examples”Show running workspaces:
microagent psmicroagent --json psText output uses the same columns as list:
NAME STATE BACKEND PROFILE NETWORK RESTARTresearch running linux-kvm medium user on-failureWhen no workspaces are running, the text output is:
No workspaces.With --json, the rows are returned under workspaces.
| Flag | Description |
|---|---|
--state-dir <dir> |
State directory to scan (default ~/.microagent/) |
--json |
Global flag before ps; print structured JSON output |
See global flags for --output/--json.
Exit status
Section titled “Exit status”ps exits 0 when it produces the listing - an empty list is still a
success - and follows the shared exit codes
when the scan fails.