#system #cpu #disk #memory #information

sys sys-info

Get system information in Rust. For now it supports Linux, Mac OS X, illumos, Solaris, FreeBSD, OpenBSD, and Windows

32 releases

Uses old Rust 2015

new 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

#15 in Operating systems

Download history 33940/week @ 2021-07-03 25433/week @ 2021-07-10 30339/week @ 2021-07-17 25922/week @ 2021-07-24 42528/week @ 2021-07-31 54268/week @ 2021-08-07 46709/week @ 2021-08-14 29687/week @ 2021-08-21 31346/week @ 2021-08-28 25818/week @ 2021-09-04 33305/week @ 2021-09-11 24667/week @ 2021-09-18 29019/week @ 2021-09-25 25992/week @ 2021-10-02 34447/week @ 2021-10-09 28765/week @ 2021-10-16

142,446 downloads per month
Used in 79 crates (42 directly)

MIT license

72KB
2K SLoC

Rust 1K SLoC // 0.0% comments C 1K SLoC // 0.0% comments

sys-info-rs

Build Status

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.

Documentation

Usage

Add this to Cargo.toml:

[dependencies]
sys-info = "0.9"

and add this to crate root:

extern crate sys_info;

Dependencies

~170KB