AMD Ryzen-info is a small Python script I wrote to monitor the main hardware system information of an AMD Ryzen system running on a recent version of Linux kernel.
It relies on dmidecode and lm_sensors to gather the needed information, to get correct voltage and temperature readings it is critical that the most up to date version of the it87 kernel module is installed; Python version 3.5 or higher is also hard requirement.
Edit /etc/sysconfig/lm_sensors to make it load it87 modules at boot:
# cat /etc/sysconfig/lm_sensors HWMON_MODULES="adt7475 it87"
I/O chip ID also needs to be forced, in my case the correct one is
#cat /etc/modprobe.d/it87.conf options it87 force_id=0x8628
dmidecode requires to be run as root and so does Ryzen-info since it relies on it to gather DRAM related information.
Ryzen-info can be download at the following link: https://gitlab.com/cfabio/Ryzen-info