USB booting :: cpu temperature?



hiho@ll

i just wanted to know if there is a tool which i can use to measure cpu temperature on a standard DSL installation on a usb memory stick?

thx@ll

I don't know for sure, but i think there is nothing in DSL to do that.  You'll need something like lm_sensors installed and properly configured in order to monitor the temps.
thx mikshaw
the /proc directory contains lots of neat information about your system.  The files are always dated as now, and they look like they have no size, but can you view them just like text with cat:

cat /proc/acpi/thermal/0/status

might work (my computer doesn't have a acpi directory, but I don't know if that's because mine doesn't have a thermometer).  Programs that check the temperature look at a proc file to get that info.  You can make something to parse out what you need easily.

Others that are neat to look at are /proc/uptime and /proc/meminfo.


original here.