dotfiles/screen/backticks/hwtemp-desktop.sh

6 lines
236 B
Bash
Raw Normal View History

#!/usr/bin/env bash
# Core i7-4820k
#sensors | fgrep -i "core " | tr "\n" " " | sed -e "s/Core\ [0-9]\:[ ]\++//g;s/ ([^)]*)//g;s/ $//"
# Threadripper 1950X (via motherboard sensors, not die)
sensors | fgrep 'CPUTIN' | awk '{print $2}'