#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

31 releases

Uses old Rust 2015

0.9.0 Apr 9, 2021
0.8.0 Jan 25, 2021
0.7.0 May 29, 2020
0.6.0 Mar 26, 2020
0.3.1 Mar 27, 2015

#14 in Operating systems

Download history 15640/week @ 2021-01-15 12447/week @ 2021-01-22 13704/week @ 2021-01-29 11771/week @ 2021-02-05 16733/week @ 2021-02-12 14286/week @ 2021-02-19 16513/week @ 2021-02-26 17958/week @ 2021-03-05 27795/week @ 2021-03-12 19610/week @ 2021-03-19 23619/week @ 2021-03-26 20938/week @ 2021-04-02 25805/week @ 2021-04-09 24745/week @ 2021-04-16 23785/week @ 2021-04-23 16228/week @ 2021-04-30

76,780 downloads per month
Used in 67 crates (37 directly)

MIT license

71KB
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

~155KB