Expand description
Data collection core shared by the rigtop TUI and GUI.
snapshot: the serializable measurement types exchanged between data sources and front-ends (also the wire format for remote monitoring).source: theDataSourcetrait and theLocalSourceimplementation.config: user configuration (sensor labels, SMART directory).system,gpu,smart,linux: the individual collectors.agent,remote: remote monitoring over SSH (rigtop --agentand theremote::RemoteSourcethat talks to it).worker,view, [format]: front-end helpers shared by the TUI and the GUI (background polling thread, process table logic, units).
Re-exports§
pub use config::Config;pub use snapshot::Snapshot;pub use source::DataSource;pub use source::LocalSource;pub use source::MIN_POLL_INTERVAL;pub use source::ProcessSignal;pub use source::SourceError;
Modules§
- agent
- The agent protocol for remote monitoring, and the agent loop itself.
- config
- User configuration (
config.toml). - format
- Compact human-readable formatting for narrow terminal cells.
- gpu
- NVIDIA GPU statistics via NVML.
- hosts
- The hosts a front-end monitors: this machine plus remote hosts from the configuration and the command line.
- linux
- Linux-specific readers for
/sysand/proc. - remote
- A
DataSourcefor a remote host, reached by runningrigtop --agentthrough the system’sssh(OpenSSH;ssh.exeon Windows). - smart
- SMART health from smartctl JSON files.
- snapshot
- Serializable snapshot of everything rigtop displays.
- source
- Data sources: anything that can produce
Snapshots. - system
- Portable statistics via the
sysinfocrate: CPU load, memory, processes, network traffic and filesystem capacity. - view
- Front-end helpers shared by the TUI and the GUI: graph history, process table sorting/filtering joined with GPU usage, and small naming helpers.
- worker
- Background thread that owns the data source.