8 releases

Uses old Rust 2015

0.1.7 Feb 9, 2021
0.1.6 Nov 13, 2020
0.1.5 Oct 7, 2019
0.1.4 Mar 8, 2019
0.1.0 Mar 12, 2016

#22 in Operating systems

Download history 2123/week @ 2020-11-13 1427/week @ 2020-11-20 1832/week @ 2020-11-27 1446/week @ 2020-12-04 1264/week @ 2020-12-11 1287/week @ 2020-12-18 1382/week @ 2020-12-25 1094/week @ 2021-01-01 1432/week @ 2021-01-08 1629/week @ 2021-01-15 1868/week @ 2021-01-22 1252/week @ 2021-01-29 2061/week @ 2021-02-05 2057/week @ 2021-02-12 1931/week @ 2021-02-19 1878/week @ 2021-02-26

6,336 downloads per month
Used in less than 15 crates

Unlicense

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

~1–1.5MB
~25K SLoC