Rust library for getting system information https://crates.io/crates/systemstat
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
teutat3s c0572bb13f
Add dummy illumos implementation
4 months ago
.github [ci skip] add .github thing 7 months ago
examples add swap support 1 year ago
src Add dummy illumos implementation 4 months ago
.cirrus.yml cirrus: use FreeBSD 12.3 1 year ago
.gitignore Ignore .swp files 7 years ago
.woodpecker.yml add Woodpecker CI 7 months ago
CODE_OF_CONDUCT.md initial commit 8 years ago
Cargo.toml release 0.2.3 6 months ago
README.md add Woodpecker CI 7 months ago
UNLICENSE initial commit 8 years ago

README.md

crates.io API Docs CI status 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
  • NetBSD
  • more coming soon

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 and to release your contributions under the Unlicense.

License

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