32 releases
Uses old Rust 2015
0.9.1 | Oct 21, 2021 |
---|---|
0.9.0 | Apr 9, 2021 |
0.8.0 | Jan 25, 2021 |
0.7.0 | May 29, 2020 |
0.3.1 | Mar 27, 2015 |
#132 in Operating systems
326,936 downloads per month
Used in fewer than 101 crates
72KB
2K
SLoC
sys-info-rs
Get system information in Rust.
For now it supports Linux, Mac OS X, illumos, Solaris, FreeBSD, OpenBSD, NetBSD and Windows. And now it can get information of kernel/cpu/memory/disk/load/hostname and so on.
Usage
Add this to Cargo.toml
:
[dependencies]
sys-info = "0.9"
and add this to crate root:
extern crate sys_info;
lib.rs
:
#Introduction This crate focuses on geting system information.
For now it supports Linux, Mac OS X and Windows. And now it can get information of kernel/cpu/memory/disk/load/hostname and so on.
Dependencies
~0.4–325KB