Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

read cpu temperature ubuntu

sudo apt update # update repos
sudo apt install lm-sensors # install package
sensors-detect # find available sensors in system
sudo service kmod start # start service
sensors # if you want to get a reading
watch sensors # if you want to continuously read temps
Source by askubuntu.com #
 
PREVIOUS NEXT
Tagged: #read #cpu #temperature #ubuntu
ADD COMMENT
Topic
Name
2+1 =