17 releases

0.1.16 Feb 8, 2024
0.1.15 Oct 22, 2023
0.1.14 Jun 29, 2023
0.1.13 Dec 30, 2022
0.1.5 Apr 16, 2021

#168 in Hardware support

Download history 61/week @ 2024-07-31 27/week @ 2024-08-07 24/week @ 2024-08-14 31/week @ 2024-08-21 56/week @ 2024-08-28 88/week @ 2024-09-04 47/week @ 2024-09-11 678/week @ 2024-09-18 575/week @ 2024-09-25 574/week @ 2024-10-02 712/week @ 2024-10-09 585/week @ 2024-10-16 727/week @ 2024-10-23 681/week @ 2024-10-30 592/week @ 2024-11-06 426/week @ 2024-11-13

2,596 downloads per month
Used in hw-crossplatform

MIT/Apache

110KB
2.5K SLoC

Linux Info

Crates.io Documentation GitHub issues

linux-info is a Rust crate that allows you to retrieve information about your Linux system. It provides various modules to access different aspects of your system.

Modules

The linux-info crate currently provides the following modules:

  • cpu: Retrieves information about the CPU.
  • memory: Retrieves information about the system memory.
  • system: Retrieves general system information.
  • storage: Retrieves information about storage devices.
  • bios: Retrieves BIOS information.
  • network: Retrieves network-related information. (Requires the network feature)

The crate also includes Serde support, which can be enabled with the serde feature.

Installation

To use linux-info in your Rust project, add the following line to your Cargo.toml file:

linux-info = "0.1"

Contribution

Contributions to this crate are welcome! If you have any ideas, bug reports, or feature requests, please open an issue on the GitHub repository.

Dependencies

~0.4–1.8MB
~34K SLoC