Expand description
System-wide snapshots: CPU, memory, swap, load, uptime.
One immutable value per sample, handed to the UI atomically (docs/DESIGN.md §6).
Structs§
- CpuTimes
- Disk
Counters - Host-wide disk byte counters, cumulative since boot.
- MemInfo
- The memory breakdown a platform reports.
- Memory
Class - One named class of memory, as htop models it.
- NetCounters
- Host-wide network byte counters, cumulative since boot.
- Psi
- Host pressure stall information.
- PsiLine
- One PSI resource’s
someandfullaverages. - PsiResource
- Pressure stall information for one resource.
- Rate
- A throughput in bytes per second, split into its two directions.
- Swap
Info - System
Snapshot - One immutable sample handed from the sampler thread to the renderer.
- Task
Stats - Process-table counts, so meters can summarise processes without reaching into the table themselves.
- Zram
Device - One compressed RAM block device (
/sys/block/zram<N>). - Zram
Info - Every zram device on the machine, and their totals.