From 90381713a9e23df077f96b0f55345c599020c0e0 Mon Sep 17 00:00:00 2001 From: Hyy2001X <1804430051@qq.com> Date: Tue, 27 Apr 2021 21:26:06 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=20CPU=20=E6=B8=A9=E5=BA=A6?= =?UTF-8?q?=E8=8E=B7=E5=8F=96=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CustomFiles/Depends/cpuinfo_x86 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CustomFiles/Depends/cpuinfo_x86 b/CustomFiles/Depends/cpuinfo_x86 index 28c68b9..9523e41 100755 --- a/CustomFiles/Depends/cpuinfo_x86 +++ b/CustomFiles/Depends/cpuinfo_x86 @@ -1,5 +1,5 @@ #!/bin/sh MHz=$(grep 'MHz' /proc/cpuinfo | awk '{print $4}' | awk 'NR==1') -TEMP=$(sensors 2>/dev/null | grep 'Package id' | awk '{print $4}') -echo "$MHz MHz $TEMP " \ No newline at end of file +TEMP=$(sensors 2>/dev/null | grep 'Core 0' | awk '{print $3}') +echo "$MHz MHz $TEMP "