Skip to main content

Module ps

Module ps 

Source
Expand description

lev ps - list the agent runs in the shared-world daemon.

Queries the daemon over its control socket and prints one line per run. The query + formatting cores are tested here; the socket-path resolution + connect live in the binary behind crate::dispatch::RiskyExecutors.

Structs§

OfflineRun
One run that exists on disk but which the daemon is not currently hosting.
PsArgs
Arguments for lev ps.

Constants§

PS_LONG_ABOUT
lev ps --help. Every status an operator can see, and what to do about it.

Functions§

format_offline
Render the NOT RUNNING block. None when there is nothing to show.
format_runs
Render a run listing as an aligned table (or a friendly note when empty), with the daemon’s own health underneath when it has something to say.
offline_runs
The runs on disk that live does not account for, newest first.
send_list
Query the daemon for its runs and print the listing.