homeserver CPU sensor backtick switched to read package temp from coretemp

This commit is contained in:
Alexey Eschenko 2018-12-21 22:59:06 +00:00
parent c4ced0af30
commit 973b4f2791

View file

@ -1,3 +1,3 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# AMD A10-6800K APU (via motherboard until offset problem in k10temp is fixed) # Intel(R) Xeon(R) CPU E5-2680 v2 (via coretemp)
sensors | fgrep 'CPUTIN:' | awk '{print $2}' | head -n1 sensors | fgrep -i 'package' | awk '{print $4}' | head -n1