danburkert / procinfo-rs

A Rust library for accessing Linux process and system information
Apache License 2.0
91 stars 39 forks source link

Why loadavg is 10 minutes #33

Open opensourcegeek opened 6 years ago

opensourcegeek commented 6 years ago

Just checking why you've named load average struct with 10 min, as it looks like 1, 5 and 15 mins values according to man proc. Are there any other post processing happening to convert it into 10 mins - though I couldn't see when skimming through source code?

danburkert commented 6 years ago

Yep, this certainly seems like a mistake. Thanks for the report, any interest in submitting a PR?