gerald stats
gerald stats [--port <PORT>] [--json]Options
Section titled “Options”| Option | Default | |
|---|---|---|
--port <PORT> |
8080 |
Port of the model |
--json |
Print one snapshot as JSON and exit |
The screen
Section titled “The screen”- Now polls the running model each second: tokens per second, requests by
mode, busy and failed requests, and request and first-token times. These
reset when
serverestarts. - Fills reads Gerald’s usage ledger: methods written and left, time, test
time and tokens, for each
fillfrom an agent tool, the hook or a terminal.
| Key | |
|---|---|
t |
Switch between the last 24 hours, 7 days and all time |
p |
Pause |
q, Esc, Ctrl-C |
Quit |
Token savings
Section titled “Token savings”These are estimates, at about four bytes per token:
- Saved: the size of the methods Gerald wrote and kept, which the agent did not have to write.
- Reply: what the agent read back from Gerald.
- Net: the difference. It can be negative, and the screen shows it when it is.
Gerald cannot see your agent’s bill, so the screen shows no prices.
The ledger
Section titled “The ledger”usage.jsonl in the state directory holds counts,
times and file names, never source. Past 5 MB it moves aside to
usage.jsonl.1.