appsignal / probes-rs

Rust library to read out system stats from a machine running Unix
MIT License
15 stars 2 forks source link

Cpu stat in percentages #19

Closed thijsc closed 8 years ago

thijsc commented 8 years ago

The existing probe just got the current value. This is a counter that increments starting at boot. To get useful stats we need to calculate this per minute, like we do for network. After that we convert the numbers to percentages to get useful stats.

timonv commented 8 years ago

Nice! +1