Expand description
System information gathering.
Uses the sysinfo crate and other heuristics to collect details
about the OS, hardware, and environment.
Structs§
- Collect
Options - Options for controlling what system information is gathered.
- System
Info - Comprehensive system information data structure.
Functions§
- detect_
cpu_ cache - Detects CPU cache sizes.
- detect_
cpu_ freq_ range - Returns the overall (min_khz, max_khz) CPU frequency range from sysfs cpufreq policies.
min is the smallest
cpuinfo_min_freqacross all policies; max is the largestcpuinfo_max_freq. - format_
cpu_ cores - Formats a CPU core topology string.