系统信息收集命令,工作急用中
有什么方法或者命令可以收集到cpu的频率和构架(i386等等)? dmesg | more 楼上的大虾多谢回复!
我刚才看了一个多小时的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呀? 我刚才看了一个多小时的dmesg
有那么难找。 :-)
cat /proc/cpuinfo
这个是专门看CPU的。
是不是这个指令只能鉴别Intel i386构架的CPU呀?
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 多谢大虾回复,了解了解
页:
[1]