You are not logged in.
Hey everyone,
Just dropped v2.0.0 of lazybios, a little C99 library I've been working on for reading SMBIOS/DMI tables (hardware info, basically). It's been in the AUR since October, and I finally got around to cleaning up the API and bundling JSON support properly.
What it does:
Parses SMBIOS data (CPU, RAM, BIOS, etc.)
Clean C API if you want to use it in your own projects
CLI tool called lazydmi (also in the AUR) if you just want to run it
Features:
All 47 SMBIOS types supported
Works on 12 OSes (Linux, Windows, macOS, BSDs, Haiku, ReactOS, etc)
No runtime dependencies (cJSON is bundled for JSON
Apparently faster than dmidecode?:
Summary from hyperfine
/usr/bin/lazydmi > /dev/null ran
1.07 ± 0.25 times faster than /usr/bin/dmidecode > /dev/null
(Probably because I don't support as many OEM types yet. The difference it's in microseconds so doesn't really matter anyways. You can test it yourself, and correct me if I'm wrong)
It's also very light and simple
Links:
GitHub: https://github.com/LazySeldi/lazybios
lib-lazybios AUR: https://aur.archlinux.org/packages/lib-lazybios
lazydmi AUR: https://aur.archlinux.org/packages/lazydmi
What I'm looking for:
Feedback, bug reports, weird edge cases
AUR votes if you find it useful (would love to get this into official repos someday)
Testers on odd OSes (Haiku, ReactOS, etc.), I've implemented support for them but can't test everything myself
What's next:
A simple GUI frontend (SDL or OpenGL, pure C, when I learn it, maybe someone hopefully makes it before me)
More OEM types as I get dumps from people(If you do contribute any dumps, make sure to edit/remove any specific fields that may be linked back to you, like UUID etc)
Keeping up with the latest DMTF SMBIOS spec
Appreciate you taking a look. Let me know what you think.
Offline