sysinfo 0.40.0

Library to get system information such as processes, CPUs, disks, components and networks
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13

With the `serde` feature enabled, you can then serialize `sysinfo` types. Let's see an example with `serde_json`:

```
use sysinfo::System;

if let Ok(mut sys) = System::new_all() {
    // First we update all information of our `System` struct.
    sys.refresh_all();

    println!("{}", serde_json::to_string(&sys).unwrap());
}
```