8 lines
273 B
Bash
Executable File
8 lines
273 B
Bash
Executable File
#!/bin/bash
|
|
cpu=$(</sys/class/thermal/thermal_zone0/temp)
|
|
echo "CPU Temp: $((cpu/1000)) c"
|
|
gpu=$(vcgencmd measure_temp | cut -c 6-7 -)
|
|
echo "GPU Temp: $gpu c"
|
|
ssd=` sudo smartctl -d sat,12 --all /dev/sda | grep Temperature_Celsius | cut -c 88-89 -`
|
|
echo "SSD Temp: $ssd c"
|