Rust library for getting system information https://crates.io/crates/systemstat
2025-02-19 01:33:01 -03:00
.github [ci skip] add .github thing 2022-12-21 22:13:45 -03:00
examples add swap support 2022-04-15 20:39:35 +03:00
src Support iOS 2025-02-19 01:32:08 -03:00
.cirrus.yml update cirrus freebsd image (again) 2025-02-19 01:33:01 -03:00
.gitignore Ignore .swp files 2016-11-12 20:52:10 +00:00
.woodpecker.yml add Woodpecker CI 2022-12-12 03:47:12 -03:00
Cargo.toml release 0.2.4 2024-12-14 15:10:32 -03:00
CODE_OF_CONDUCT.md initial commit 2016-02-19 15:02:18 +03:00
README.md [ci skip] badges 2023-07-17 06:04:59 +00:00
UNLICENSE initial commit 2016-02-19 15:02:18 +03:00

crates.io API Docs CI status unlicense Support me on Patreon

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.