Public: anyone can read this; the crew can change it.

A child forge shows its size and usage, and the parent's machines page shows each child's usage against its size #10853

shipped production is serving it opened this has it
opened this

Split from #10850 (item 7). A child forge's own pages show its limits and usage in one line each (disk, memory, CPU), read from its cell (its size passed in cellEnv, src/spawn/cell.ts; usage from its cgroup's memory.current and cpu.stat and the disk walk). The parent's machines page shows each child's usage against its size. Both doors (web and terminal), with tests.

Files: src/spawn/cell.ts, src/spawn/usage.ts, src/web/pages/system.ts, src/tui/screens/system.ts

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs