Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Try: grep . /sys/class/hwmon/*/{name,temp*_input} and for zone in /sys/class/thermal/thermal_zone*; do echo "$(cat $zone/type) $(cat $zone/temp)"; done | sort -rnk2 | awk '{printf "%-30s%.1f\n",$1,$2/1000}'. These should work on all Linux systems.
dumpsys -lshows it in the service listgrep . /sys/class/hwmon/*/{name,temp*_input}andfor zone in /sys/class/thermal/thermal_zone*; do echo "$(cat $zone/type) $(cat $zone/temp)"; done | sort -rnk2 | awk '{printf "%-30s%.1f\n",$1,$2/1000}'. These should work on all Linux systems.