#navi(../)
* CPUのモデルネームを確認する方法 [#j9059d51]
Linuxの場合、/proc/cpuinfoにCPUに関する情報が格納されています。~
model nameを確認することにより、CPUのモデル名を確認することができます。~
以下に実際に確認した時の操作例を記します。

#contents
#htmlinsertpcsp(linux_ads_top.html,linux-sp.html)

* cat /proc/cpuinfo を確認する [#y0ebcf39]
以下のコマンドでCPUのモデル名を取得できます。
 cat /proc/cpuinfo | grep "model name"
以下はAtom N270のネットブックで確認した例です。
 sakura@mini:~$ cat /proc/cpuinfo | grep "model name"
 model name	: Intel(R) Atom(TM) CPU N270   @ 1.60GHz
 model name	: Intel(R) Atom(TM) CPU N270   @ 1.60GHz
ハイパースレッディングがあり、論理コアが2なので2行表示されます。

尚、/proc/cpuinfoは以下のような内容が表示されます。

 processor	: 0
 vendor_id	: GenuineIntel
 cpu family	: 6
 model		: 28
 model name	: Intel(R) Atom(TM) CPU N270   @ 1.60GHz
 stepping	: 2
 microcode	: 0x20a
 cpu MHz		: 800.000
 cache size	: 512 KB
 physical id	: 0
 siblings	: 2
 core id		: 0
 cpu cores	: 1
 apicid		: 0
 initial apicid	: 0
 fdiv_bug	: no
 hlt_bug		: no
 f00f_bug	: no
 coma_bug	: no
 fpu		: yes
 fpu_exception	: yes
 cpuid level	: 10
 wp		: yes
 flags		: fpu vme de tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 xtpr pdcm movbe lahf_lm dtherm
 bogomips	: 3192.12
 clflush size	: 64
 cache_alignment	: 64
 address sizes	: 32 bits physical, 32 bits virtual
 power management:
 
 processor	: 1
 vendor_id	: GenuineIntel
 cpu family	: 6
 model		: 28
 model name	: Intel(R) Atom(TM) CPU N270   @ 1.60GHz
 stepping	: 2
 microcode	: 0x20a
 cpu MHz		: 800.000
 cache size	: 512 KB
 physical id	: 0
 siblings	: 2
 core id		: 0
 cpu cores	: 1
 apicid		: 1
 initial apicid	: 1
 fdiv_bug	: no
 hlt_bug		: no
 f00f_bug	: no
 coma_bug	: no
 fpu		: yes
 fpu_exception	: yes
 cpuid level	: 10
 wp		: yes
 flags		: fpu vme de tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 xtpr pdcm movbe lahf_lm dtherm
 bogomips	: 3192.23
 clflush size	: 64
 cache_alignment	: 64
 address sizes	: 32 bits physical, 32 bits virtual
 power management:
上記は/proc/cpuinfoをcatした時の出力です。(Atom N270の場合)

以上、CPUのモデル名を確認する方法でした。

#htmlinsertpcsp(linux_ads_btm.html,linux-sp.html)

トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS