user@linux$ cat /proc/acpi/thermal_zone/THRM/temparature
temperature: 40 C
user@linux$
Note that this method works only if ACPI (Advanced Configuration and Power Interface) thermal zones are supported on your computer.
Linux Tricks | Tutorial | Commands | News | Technology | Programming | More
No comments:
Post a Comment