#linux #system-info #unix #devices #version #name #user

libscu

crate for fetching software/hardware info on Unix-like OSs

13 stable releases

2.2.0 May 7, 2024
2.1.0 Apr 18, 2024
1.5.2 Mar 21, 2024
1.3.9 Feb 28, 2024
1.3.6 Jan 25, 2024

#257 in Unix APIs

34 downloads per month

GPL-3.0 license

1MB
18K SLoC

LIBSCU

Rust crate for fetching hardware/software information on Unix-like OSs I'M GOING TO COMPLETELY REWRITE IT

Crates.io Docs.rs

Features support status

Feature Description Android Linux MacOS
battery Battery state
bootmode UEFI or BIOS
cpu CPU information
device Device name
display Display brightness
drives Disks installed
gpu GPU's information
graphics WM/DE information
hostname Host name (in OS)
init Init system
kernel Kernel version
os OS name
packages Package managers
proc Processes
ram RAM and SWAP
shell Shell
terminal Terminal
uptime System uptime
users Users

Dependencies

~0–6.5MB
~40K SLoC