Module shadow_rs::core::resource_usage
source · Expand description
Utilities for getting system resource usage.
Structs§
- Memory usage information parsed from ‘/proc/meminfo’. All units are converted to bytes.
Functions§
- Collects some of the fields from ‘/proc/meminfo’. This function will seek to the start of the file before reading.