7
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

i7zでCPUの実クロックや温度を取得

Last updated at Posted at 2015-06-14

参考

cat /proc/cpuinfoではTurbo boost時など、実クロックがわからない。
/sys/devices/system/cpu?/以下から読むこともできるが面倒である。

apt-get install -y i7z i7z_GUI

使い方

sudo i7z
Cpu speed from cpuinfo 3092.00Mhz
cpuinfo might be wrong if cpufreq is enabled. To guess correctly try estimating via tsc
Linux's inbuilt cpu_khz code emulated now
True Frequency (without accounting Turbo) 3092 MHz
  CPU Multiplier 31x || Bus clock frequency (BCLK) 99.74 MHz

Socket [0] - [physical cores=2, logical cores=4, max online cores ever=2]
  TURBO DISABLED on 2 Cores, Hyper Threading ON
  Max Frequency without considering Turbo 3092.00 MHz (99.74 x [31])
  Max TURBO Multiplier (if Enabled) with 1/2/3/4 Cores is  31x/31x/31x/31x
  Real Current Frequency 2066.39 MHz [99.74 x 20.72] (Max of below)
        Core [core-id]  :Actual Freq (Mult.)      C0%   Halt(C1)%  C3 %   C6 %  Temp      VCore
        Core 1 [0]:       1976.06 (19.81x)      3.29    35.3       1    61.6    37      1.0208
        Core 2 [1]:       2066.39 (20.72x)      21.1    60.6       1    24.3    40      1.0208





C0 = Processor running without halting
C1 = Processor running with halts (States >C0 are power saver modes with cores idling)
C3 = Cores running with PLL turned off and core cache turned off
C6, C7 = Everything in C3 + core state saved to last level cache, C7 is deeper than C6
  Above values in table are in percentage over the last 1 sec
[core-id] refers to core-id number in /proc/cpuinfo
'Garbage Values' message printed when garbage values are read
  Ctrl+C to exit

GUI版もあるが

GUI版もあるが表示される情報が少ない
sudo i7z_GUI
7
6
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?