1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
//! //! A crate that should allow ease of use to get infos //! about your linux system. //! Get information about your: //! - cpu //! - memory //! //! The api is not finished and feedback is appreciated. //! //! ## Async //! At the moment every method here reads from /proc/* which //! does not benefit from async code. /// Get cpu information. pub mod cpu; /// Get memory information. pub mod memory; // Get system information (uptime, hostname, usernames, groups). pub mod system; mod util; pub mod unit { use super::*; pub use util::{DataSize, DataSizeUnit}; } // get cpu info // get memory info // get graphics info // get process info // get mdstats