6 releases

new 0.1.5 Oct 7, 2019
0.1.4 Mar 8, 2019
0.1.3 Jul 17, 2018
0.1.2 Jun 21, 2017
0.1.0 Mar 12, 2016

#2 in #info

Download history 388/week @ 2019-06-24 280/week @ 2019-07-01 387/week @ 2019-07-08 218/week @ 2019-07-15 211/week @ 2019-07-22 249/week @ 2019-07-29 328/week @ 2019-08-05 316/week @ 2019-08-12 447/week @ 2019-08-19 408/week @ 2019-08-26 637/week @ 2019-09-02 524/week @ 2019-09-09 1162/week @ 2019-09-16 1870/week @ 2019-09-23 2767/week @ 2019-09-30

3,154 downloads per month
Used in 8 crates

Unlicense

94KB
2.5K SLoC

crates.io API Docs unlicense

systemstat

A Rust library for getting system information/statistics:

  • CPU load
  • load average
  • memory usage
  • uptime / boot time
  • battery life
  • filesystem mounts (and disk usage)
  • disk I/O statistics
  • network interfaces
  • network traffic statistics
  • CPU temperature

Unlike sys-info-rs, this one is written purely in Rust.

Supported platforms (roughly ordered by completeness of support):

  • FreeBSD
  • Linux
  • OpenBSD
  • Windows
  • macOS
  • more coming soon

Originally written for unixbar :-)

Usage

See examples/info.rs.

Contributing

Please feel free to submit pull requests!

By participating in this project you agree to follow the Contributor Code of Conduct.

The list of contributors is available on GitHub.

License

This is free and unencumbered software released into the public domain.
For more information, please refer to the UNLICENSE file or unlicense.org.

Dependencies

~0.7–1MB
~17K SLoC