28 releases (4 breaking)

0.5.4 Sep 28, 2024
0.4.9 Jul 7, 2024
0.4.2 Mar 17, 2024

#452 in Filesystem


Used in rns

AGPL-3.0-or-later

125KB
3.5K SLoC

sysutil lib

  • Linux system information library

Warning

  • 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

Other implementations

  • the library is also available for Python
  • check it out at pypi.org

Documentation

  • check the documentation at docs.rs

lib.rs:

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"

Dependencies

~20KB