Feature #14075


can prtdiag be expanded to include CPU frequency and temperatures and System temperature and Fan speeds

Added by r a 13 days ago. Updated 9 days ago.

Start date:
Due date:
% Done:


Estimated time:
Gerrit CR:


Given that most modern AMD/Intel based motherboards contain the necessary capability to report CPU clock frequency, CPU core and socket temperatures and other temperatures including the System, MOS and Chipset.
in addition the motherboards also can report on the CPU fan speed as well as speed of other fans attached to the motherboard.

Can prtdiag functionality be expanded to include CPU frequency and temperatures as well as system temperatures and fan speeds.


fmtopo (156 KB) fmtopo output of fmtopo -V r a, 2021-09-14 07:56 AM
Actions #1

Updated by Robert Mustacchi 13 days ago

This is all currently available in fmtopo. I suspect this is where you want to go get it so you can get it from the same place as all the other sensors that we have access to which include drives, transceivers, PCIe devices, etc.

Actions #2

Updated by r a 12 days ago

Thank you for the information, when I used fmtopo V it generates the attached output while it is possible to get the CPU core temperatures I can not see the System, MOS, Chipset temperatures nor can I see the CPU fan, or System Fans 1 6 RPM listed unless I using the command incorrectly.
Having this reported in prtdiag would make it a more useful command.

Actions #3

Updated by r a 12 days ago

Forgot to attach the output of fmtopo

Actions #5

Updated by Robert Mustacchi 10 days ago

I don't think you ran the command incorrectly, but the issue is more of how does your system actually expose the other information in question. e.g. on server systems all the things you mentioned are in fmtopo because they come via ipmi. So even if this was in prtdiag, there are no additional sensors that we have visibility to on your system.

Actions #6

Updated by r a 9 days ago

Linux has a project lm-sensors which detects the SuperIO chip which reports on temperatures, voltages and fan speeds this uses a perl program sensors-detect which actually discovers the devices.
Could this functionality be added to give prtdiag more information to report?


Also available in: Atom PDF