Closed ludo-c closed 2 years ago
Hello,
Thank you very much for this library ! It helps a lot !
Is it possible to add the possibility to read the load average from another directory than /proc please ?
/proc
This PR is inspired from the Meminfo struct, adding a method from_reader in the LoadAverage struct.
Meminfo
from_reader
LoadAverage
Tests are ok
test result: ok. 105 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.02s test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.84s
Thank you !
Looks great, thank you!
This change has been published as version v0.14.0
v0.14.0
Thank you very much !
Hello,
Thank you very much for this library ! It helps a lot !
Is it possible to add the possibility to read the load average from another directory than
/proc
please ?This PR is inspired from the
Meminfo
struct, adding a methodfrom_reader
in theLoadAverage
struct.Tests are ok
Thank you !