valpackett / systemstat

Rust library for getting system information | also on https://codeberg.org/valpackett/systemstat
https://crates.io/crates/systemstat
The Unlicense
610 stars 71 forks source link

How to get cpu usage #87

Closed rustbomber closed 3 years ago

valpackett commented 3 years ago

See the examples directory in the repo. Also #84.

rustbomber commented 3 years ago

I thank cpu usage is different cpu_load_aggregate.

valpackett commented 3 years ago

What other kind of usage is there? I'm not aware of any other ways to measure CPU usage than what's implemented as cpu_load_aggregate.