Expand description
§getsys - get some system stuff
Support: Linux.
Mainly made to have a simpler and straightforward interface, and backend.
§Features
§Cpu
- cpu turbo boost state
- average temperature
- cpu percentage over an interval of
Duration
§Per Cpu
- scaling govenor
- driver
- frequency
§crates
- glob 0.3.0
§Honorable Mentions
I have written this little library to fetch information I couldn’t get with other crates, but there are very nicely writen crates that provide information about the system that this crate doesn’t provide:
§Thoughts (these are not TODO’s)
- release v2 (major version) that implements proper error handling using thiserror macros (This is still an idea, given that this lib only reads /sys fs, which should exist in order for this to work)
- use
num_cpus
crate, instead ofglob
ing the results. This removes searching for the paths, and just directly write to it. Can also remove errors from a glob pattern, although it should not be a problem given how simple it is (../cpu[0-9]*/..
)