jobs
jobs
¶
Job-centric process tree panel for the Marianne Monitor TUI.
Renders a tree of jobs with their sheets and running processes, including inline metrics (CPU, MEM, age) and syscall summaries.
Jobs are collapsible — collapsed by default when many jobs exist, expandable on click or Enter to reveal the process tree.
Classes¶
JobsPanel
¶
Bases: VerticalScroll
Renders the job tree with per-process metrics in a scrollable container.
Jobs are displayed as collapsible tree nodes. When there are many jobs, they start collapsed; with few jobs, they start expanded.
Source code in src/marianne/tui/panels/jobs.py
Attributes¶
Functions¶
compose
¶
Build the widget tree with a Tree for collapsible jobs.
Source code in src/marianne/tui/panels/jobs.py
select_next
¶
Move selection down in the tree.
select_prev
¶
update_data
¶
Update the panel with new snapshot data.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
snapshot
|
SystemSnapshot | None
|
Current system snapshot with process metrics. |
required |
observer_file_events
|
list[dict[str, Any]] | None
|
Observer file events for job correlation. |
None
|
fleet_data
|
list[dict[str, Any]] | None
|
Fleet status dicts from fleet manager. Each dict has fleet_id, name, members (list of {job_id, group, status}). |
None
|