21 releases

0.7.1 Mar 25, 2024
0.6.0 Feb 12, 2024
0.5.3 Nov 21, 2023
0.5.1 Jul 19, 2023
0.1.2 Jun 13, 2016

#131 in Unix APIs

Download history 29/week @ 2024-07-29 112/week @ 2024-08-26 189/week @ 2024-09-02 165/week @ 2024-09-09 136/week @ 2024-09-16 28/week @ 2024-09-23 5/week @ 2024-09-30 23/week @ 2024-10-07 2/week @ 2024-10-21 24/week @ 2024-10-28 33/week @ 2024-11-04

60 downloads per month

MIT license

125KB
3K SLoC

Probes

Build Status

Rust library to read out system stats from a machine running Unix. Currently only supports Linux.

Supported stats

System wide

  • load
  • cpu
  • memory
  • network
  • io
  • disk

Per process

  • memory (total, resident, virtual)

Contributing

Thinking of contributing to our Probes package? Awesome! 🚀

Please follow our Contributing guide in our documentation and follow our Code of Conduct.

Running cargo fmt before contributing changes would reduce diffs for future contributions.

Also, we would be very happy to send you Stroopwafles. Have look at everyone we send a package to so far on our Stroopwafles page.

Setup

  • Download and install Docker
  • Build the images: make build
  • Make sure that the path where this code resided can be mounted as a volume with Docker.
  • Run the tests on all images: make test
  • Add awesome features!

The tests on Travis are only run directly on that VM. Make sure to run the full test suite manually before every release.

Release

  • Update version in Cargo.toml.
  • Update CHANGELOG.md file.
  • Commit your changes.
  • Tag the release: git tag v#.#.#.
  • Run cargo publish.

Dependencies