Access Linux memory/RAM information without asking for root
Feature request
Is your feature request related to a problem? Please describe.
Currently the app relies on dmidecode running as root to get the system's memory information.
Describe the solution you'd like
There is a way to display the memory information without asking for root access.
During the boot process on recent Linux distributions, udev extracts the DMI information and stores it in the udev database.
Running udevadm info -e | grep -e MEMORY_DEVICE
as a normal user it's possible to access the DIMM memory device information.
Describe alternatives you've considered
The current alternative is to not show the memory information until unlocked by dmidecode as root.
Additional context
See phoronix https://www.phoronix.com/news/Linux-DIMM-Details-As-Root for more details.