11 releases

0.4.1 Nov 13, 2020
0.3.0 Jun 11, 2019
0.2.2 Jan 30, 2019
0.2.1 Sep 4, 2018
0.1.2 Jun 13, 2016

#30 in Unix APIs

Download history 49/week @ 2020-07-31 34/week @ 2020-08-07 36/week @ 2020-08-14 80/week @ 2020-08-21 22/week @ 2020-08-28 87/week @ 2020-09-04 48/week @ 2020-09-11 21/week @ 2020-09-18 7/week @ 2020-09-25 17/week @ 2020-10-02 6/week @ 2020-10-09 8/week @ 2020-10-16 13/week @ 2020-10-23 18/week @ 2020-10-30 29/week @ 2020-11-06 43/week @ 2020-11-13

128 downloads per month

MIT license

97KB
2.5K SLoC

Probes

Build Status Crate

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.

Dependencies

~240–330KB