免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4966 | 回复: 4
打印 上一主题 下一主题

请问,如何在linux下面看cpu信息呢? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-01-29 09:02 |只看该作者 |倒序浏览
查看主频,型号等等。。
除了查看cpuinfo这个文件,有别的地方能看到么。

能修改cpuinfo这个文件么?

论坛徽章:
0
2 [报告]
发表于 2008-01-29 09:18 |只看该作者
/proc是个虚拟的文件系统,无法进行直接编辑

论坛徽章:
0
3 [报告]
发表于 2008-01-29 11:18 |只看该作者
有人知道么,请教请教啊

论坛徽章:
0
4 [报告]
发表于 2008-01-30 23:29 |只看该作者
dmesg


很详细

论坛徽章:
0
5 [报告]
发表于 2008-01-31 11:58 |只看该作者
可以用dmidecode,详细可以man查看一下帮助。

我在我的RHEL 5.1上用 dmidecode -t 4 可以查看到下面的信息:

# dmidecode 2.7
SMBIOS 2.3 present.

Handle 0x0400, DMI type 4, 32 bytes.
Processor Information
        Socket Designation: Microprocessor
        Type: Central Processor
        Family: Pentium 4
        Manufacturer: Intel
        ID: 49 0F 00 00 FF FB EB BF
        Signature: Type 0, Family 15, Model 4, Stepping 9
        Flags:
                FPU (Floating-point unit on-chip)
                VME (Virtual mode extension)
                DE (Debugging extension)
                PSE (Page size extension)
                TSC (Time stamp counter)
                MSR (Model specific registers)
                PAE (Physical address extension)
                MCE (Machine check exception)
                CX8 (CMPXCHG8 instruction supported)
                APIC (On-chip APIC hardware supported)
                SEP (Fast system call)
                MTRR (Memory type range registers)
                PGE (Page global enable)
                MCA (Machine check architecture)
                CMOV (Conditional move instruction supported)
                PAT (Page attribute table)
                PSE-36 (36-bit page size extension)
                CLFSH (CLFLUSH instruction supported)
                DS (Debug store)
                ACPI (ACPI supported)
                MMX (MMX technology supported)
                FXSR (Fast floating-point save and restore)
                SSE (Streaming SIMD extensions)
                SSE2 (Streaming SIMD extensions 2)
                SS (Self-snoop)
                HTT (Hyper-threading technology)
                TM (Thermal monitor supported)
                PBE (Pending break enabled)
        Version: Not Specified
        Voltage: 1.4 V
        External Clock: 800 MHz
        Max Speed: 4000 MHz
        Current Speed: 2800 MHz
        Status: Populated, Enabled
        Upgrade: ZIF Socket
        L1 Cache Handle: 0x0700
        L2 Cache Handle: 0x0701
        L3 Cache Handle: Not Provided
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP