Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

linux get cpu temperature

awk '{ printf "%.f degrees Celsius
",  $0 / 1000.0 }' /sys/class/thermal/thermal_zone*/temp
 
PREVIOUS NEXT
Tagged: #linux #cpu #temperature
ADD COMMENT
Topic
Name
4+1 =