Solved the problem of Nosensorsfound when the temperature is detected in linux.
Today, my colleague's linux Server frequently crashes, and its model and configuration are the same as mine. Therefore, I compared the server's memory usage, CPU usage, temperature, and other information.
You cannot use sensors to view the temperature when comparing the temperature information.
Directly using sensors will report an error.
A prompt is displayed, which requires sensor detection.
So I found the information on the Internet and found out that this is generally the case that lm_sensors may not configure the sensor during installation. You need to manually configure the sensor.
The sensors-detect command will automatically detect the required modules. Similar to the "Next" Mode commonly used in Windows software, it will guide you to configure the sensor and answer "Yes" or "ENTER" as prompted in the Wizard ". Generally, you can ENTER "Yes" or "ENTER" along the way. When I detect the configuration, I will ENTER Yes and ENTER.
Terminal execution: sensors-detect. ENTER "Yes" or "ENTER" until the end.
After confirming everything, execute sensors again to display the temperature.