commit a529f24ba869b0baf96d25677f927bca47f291d9 Author: tofasthacker Date: Mon Feb 26 19:16:47 2024 -0500 first commit diff --git a/README.md b/README.md new file mode 100644 index 0000000..e69de29 diff --git a/log_temp b/log_temp new file mode 100755 index 0000000..e93a7b3 --- /dev/null +++ b/log_temp @@ -0,0 +1,9 @@ +#!/bin/bash +cpu=$(> /nas/share/brickman/logs/temp/cpu_temp.log +gpu=$(vcgencmd measure_temp | cut -c 6-7 -) +echo "GPU Temp: $gpu c $data" >> /nas/share/brickman/logs/temp/gpu_temp.log +ssd=`sudo smartctl -d sat,12 --all /dev/sda | grep Temperature_Celsius | cut -c 87-89 - ` +echo "SSD Temp: $ssd c $data" >> /nas/share/brickman/logs/temp/ssd_temp.log diff --git a/temp b/temp new file mode 100755 index 0000000..4486e6f --- /dev/null +++ b/temp @@ -0,0 +1,7 @@ +#!/bin/bash +cpu=$(