Zjištění teploty HW Linux (c) Oldřich Šálek
mzk@laptop:~$ acpi -btaVs
Battery 1: charged, 99%
Thermal 1: ok, 51.0 degrees C
AC Adapter 1: on-line
mzk@laptop:~$ sudo hddtemp /dev/sda
Password:
/dev/sda: HTS541080G9SA00 �: 31°C
Pokud nemáte program hddtemp, náprava je jednoduchá
sudo apt-get install hddtempZ mne neznámého důvodu je potřeba ke zjištění teploty hardisku zadat heslo roota. Další možností, jak zjistit teplotu CPU:
mzk@laptop:~$ cat /proc/acpi/thermal_zone/THRM/temperature temperature: 51 C mzk@laptop:~$ ls /proc/acpi/thermal_zone/THRM/ cooling_mode polling_frequency state temperature trip_pointsJeště přidám parametry k acpi
mzk@laptop:~$ acpi -help Usage: acpi [OPTION]... Shows information from the /proc filesystem, such as battery status or thermal information. -b, --battery battery information -B, --without-battery suppress battery information -t, --thermal thermal information -T, --without-thermal suppress thermal information -a, --ac-adapter ac adapter information -A, --without-ac-adapter suppress ac-adapter information -V, --everything show every device, overrides above options -s, --show-empty show non-operational devices -S, --hide-empty hide non-operational devices -c, --celsius use celsius as the temperature unit -f, --fahrenheit use fahrenheit as the temperature unit -k, --kelvin use kelvin as the temperature unit -d, --directorypath to ACPI info (/proc/acpi) -h, --help display this help and exit -v, --version output version information and exit By default, acpi displays information on installed system batteries. Non-operational devices, for example empty battery slots are hidden. The default unit of temperature is degrees celsius. Report bugs to Grahame Bowland .
Oldřich Šálek |
7. srpna 07, 11:08