mirror of
https://github.com/kenzok8/small-package
synced 2025-11-18 01:01:34 +08:00
6 lines
145 B
Bash
6 lines
145 B
Bash
#!/bin/sh
|
|
|
|
MHz=`grep 'MHz' /proc/cpuinfo | cut -c11- |sed -n '1p'`
|
|
TEMP=`sensors 2>/dev/null | grep 'Core 0' | cut -c12-`
|
|
echo "$MHz MHz $TEMP "
|