sys_metrics 0.2.7

Cross-platform library to gather stats/information from the host
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[cfg(test)]
mod virt {
    // Note this useful idiom: importing names from outer (for mod tests) scope.
    use sys_metrics::virt::*;

    #[test]
    #[allow(unused_comparisons)]
    fn test_virt() {
        let _ = get_virt_info();
    }
}