QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 602|回复: 4

系统信息收集命令,工作急用中

[复制链接]
发表于 2004-1-8 11:30:21 | 显示全部楼层 |阅读模式
有什么方法或者命令可以收集到cpu的频率和构架(i386等等)?
发表于 2004-1-8 12:09:25 | 显示全部楼层
dmesg | more
回复

使用道具 举报

 楼主| 发表于 2004-1-8 14:09:16 | 显示全部楼层
楼上的大虾

多谢回复!
我刚才看了一个多小时的dmesg,消息是很全。其中一台dmesg |grep CPU输出如下

CPU: Before vendor init, caps: 3febfbff 00000000 00000000, vendor = 0
CPU: L1 I cache: 0K, L1 D cache: 8K
CPU: L2 cache: 512K
CPU: After vendor init, caps: 3febfbff 00000000 00000000 00000000
Intel machine check reporting enabled on CPU#0.
CPU:     After generic, caps: 3febfbff 00000000 00000000 00000000
CPU:             Common caps: 3febfbff 00000000 00000000 00000000
CPU: Intel(R) Pentium(R) 4 CPU 1.80GHz stepping 04

但是有两台机器的输出里没有关于CPU的信息。是不是这个指令只能鉴别Intel i386构架的CPU呀?
回复

使用道具 举报

发表于 2004-1-8 14:34:26 | 显示全部楼层
我刚才看了一个多小时的dmesg

有那么难找。 :-)
cat /proc/cpuinfo
这个是专门看CPU的。
是不是这个指令只能鉴别Intel i386构架的CPU呀?

[code:1]Bluedata:~# cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 6
model name      : AMD Athlon(tm) XP 1600+
stepping        : 2
cpu MHz         : 1410.367
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow
bogomips        : 2811.49[/code:1]
回复

使用道具 举报

 楼主| 发表于 2004-1-18 17:15:15 | 显示全部楼层
多谢大虾回复,了解了解
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-9-20 11:37 , Processed in 0.086809 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表