heim project is a handy Rust tool for receiving various system information. It targets to have at least the same functionality as psutil, gopsutil or oshi eventually.
At the moment it is in MVP phase, so probably feature you need is still missing.
Check out Github projects page for more information.