X-OpenWrt/CustomFiles/Depends/cpuinfo_x86

6 lines
162 B
Plaintext
Raw Normal View History

#!/bin/sh
MHz=$(grep 'MHz' /proc/cpuinfo | awk '{print $4}' | awk 'NR==1')
2021-04-27 13:26:06 +00:00
TEMP=$(sensors 2>/dev/null | grep 'Core 0' | awk '{print $3}')
echo "$MHz MHz $TEMP "