sysinfo 0.11.2

Library to get system information such as processes, processors, disks, components and networks
Documentation
//
// Sysinfo
//
// Copyright (c) 2017 Guillaume Gomez
//

extern crate sysinfo;

#[test]
fn test_disks() {
    use sysinfo::SystemExt;

    let s = sysinfo::System::new();
    println!("total memory: {}", s.get_total_memory());
    println!("total cpu cores: {}", s.get_processors().len());
}