/rust-linux-sys-info

Get Linux system information in Rust.

Primary LanguageRustMIT LicenseMIT

sys-info-rs

Build Status

Get system information in Rust.

For now it the focus is on Linux and Mac OS and Windows. It may also still work on 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.

Documentation

Usage

Add this to Cargo.toml:

[dependencies]
sys-info = { git = "https://github.com/diepes/sys-info-rs.git" }

and add this to crate root:

extern crate sys_info;