Crate sysutil

Source
Expand description

Linux system information library

This library is ment to be used only in linux systems. It is possible to write code using it on other systems, but it will not allow to run the code, panicking before execution

§Installation

Run the following command in your terminal

cargo add sysutil

§Importation

Add in your code:

use sysutil;

GPU's related functions have been tested only on AMD Radeon 7000 series, any other GPU model is not "officially supported"

Modules§

bus
cpu
gpu
motherboard
network
ram
sensors
storage

Structs§

ByteSize
Data structure implementing conversion for the various measure units

Enums§

ByteUnit
Byte measure unit

Functions§

exportJson
Returns a rsjson::Json object containing all the data which sysutil can extract