[go: up one dir, main page]

sysinfo 0.15.10

Library to get system information such as processes, processors, disks, components and networks
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//
// Sysinfo
//
// Copyright (c) 2017 Guillaume Gomez
//

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

    let s = sysinfo::System::new_all();
    assert!(!s.get_disks().is_empty());
}