Expand description
Shared rendering for rgx --server status (and watch). Used by the daemon with live in-RAM
stats, and by the CLI when no daemon is running — in which case it still reports the on-disk
index location, size, and age, read straight from the snapshot file.
Structs§
- Status
- Everything the status block can show. In-RAM fields are
Nonewhen no daemon is running.
Functions§
- human_
bytes - human_
count - Human-friendly counts:
758,93.6k,1.5m(one decimal, lowercase k/m suffixes). The< 999.95guards keep a value that would round to1000.0at one decimal from showing1000.0kinstead of rolling over to1.0m. - human_
duration