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
1 changed files with 2 additions and 2 deletions

View File

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