You are not logged in.
Pages: 1
Does anyone know of a widget or some command line tool that shows me my cpu/hard drive/mainboard temperature? My laptop has some issues and turns off randomly, I want to see at what temperature that happens and be warned when it increases... Thanks!
Last edited by awayand (2012-03-31 04:44:10)
Offline
Conky? I'm not sure about the warning part. You might have to write a script for that. Here's a couple scripts to get the cpu temp and hard drive temp:
acpi -t | awk '{printf("%d°", $4)}'for the hard drive it requires hddtemp run as a daemon and netcat:
nc 127.0.0.1 7634 2>/dev/null | awk '/dev/ {split($0,hd,"|"); printf("%d°", hd[4])}'I got those from seiichiro0185.
Offline
Thanks! Didn't realize the acpi thing. That awk snippet is awesome!
EDIT: I use "sudo hddtemp /dev/sda" so I don't need to run the daemon...
Last edited by awayand (2012-03-31 04:44:48)
Offline
Pages: 1