科技行者

行者学院 转型私董会 科技行者专题报道 网红大战科技行者

知识库

知识库 安全导航

至顶网软件频道Linux下怎样查看机器配置啊?cpu/内存/硬盘

Linux下怎样查看机器配置啊?cpu/内存/硬盘

  • 扫一扫
    分享文章到微信

  • 扫一扫
    关注官方公众号
    至顶头条

hdb: ATAPI 24X CD-ROM drive, 128kB Cache b`epu.> SCSI device sda: 71132959 512-byte hdwr sectors (36420 MB) AkS`gj9 +. $1DIL

作者:ccidnet 来源:ccidnet 2007年10月11日

关键字: CPU 查看 配置 Linux

  • 评论
  • 分享微博
  • 分享邮件
你说: (10:59:33) 2! m!~bnu  
dmesg | grep hd t 9g~ +  
|j3n?GY  
[root@bj etc]# dmesg|grep hd ~+H)"e  
hdb: CD-224E, ATAPI CD/DVD-ROM drive !8 qA1h|Ky  
hdb: attached ide-cdrom driver. ?Qn0.G  
hdb: ATAPI 24X CD-ROM drive, 128kB Cache b`epu.>  
SCSI device sda: 71132959 512-byte hdwr sectors (36420 MB) AkS`gj9  
+. $1DIL  
}F1|,g  
这是36G吧? ;aY_3$]@#<  
你说: (11:01:40) 4Q+OUg;|6  
是! t1"}a{  
(X]!s4>El  
:7A:Y o\V_  
[root@bj etc]# dmesg|grep cpu X>) j"  
cpu_sibling_map[0] = 3 O )   
cpu_sibling_map[1] = 2 VXj/o  
cpu_sibling_map[2] = 1 [zV8m  
cpu_sibling_map[3] = 0 $ i0GB*^DG  
cpu: 0, clocks: 1328920, slice: 265784 M_oP=   
cpu: 3, clocks: 1328920, slice: 265784 ^ir#qmp  
cpu: 1, clocks: 1328920, slice: 265784 ow,H5=:c&>  
cpu: 2, clocks: 1328920, slice: 265784 @"{r*9H  
\Ua<Ac  
+%y64P!:  
你说: (11:02:52) 5 7)f  
# dmesg | grep proc yQ}=z0Ye  
Detected 1804.140 MHz processor. ZN?#20 P  
# kZ\B3tvkk  
.ZNOf{}"g  
v ZYMLd4yo  
想查CPU有几个,什么型号的,类似这样的表述PIII800*2 {ov:oj("  
.Mbw-Z&  
[root@bj etc]# dmesg|grep CPU C{!*nd#ZU  
Initializing CPU#0 +_U &$'*;  
CPU: Trace cache: 12K u, L1 D cache: 8K V0O_<+BGm  
CPU: L2 cache: 512K [I6Ct x  
CPU: Physical Processor ID: 0 [z: D\''A  
Intel machine check reporting enabled on CPU#0. F9 {K;@xq  
CPU:   After generic, caps: bfebfbff 00000000 00000000 00000000 /Y:Whs  
CPU:         Common caps: bfebfbff 00000000 00000000 00000000 @'1:j!l  
CPU: Trace cache: 12K u, L1 D cache: 8K -zEInMQ&  
CPU: L2 cache: 512K RA o?rpR-V  
CPU: Physical Processor ID: 0 r($TJ-0b  
Intel machine check reporting enabled on CPU#0. LLr K  
CPU:   After generic, caps: bfebfbff 00000000 00000000 00000000 {UW^#.  
CPU:         Common caps: bfebfbff 00000000 00000000 00000000 CHs_nwq  
CPU0: Intel(R) Xeon(TM) CPU 2.80GHz stepping 07 2J" w]Nq  
per-CPU timeslice cutoff: 1463.06 usecs. <3^6&}I  
enabled ExtINT on CPU#0 {`jaDeDpp  
Initializing CPU#1 &w,:Y)<  
masked ExtINT on CPU#1 }RD+-1k  
CPU: Trace cache: 12K u, L1 D cache: 8K rzI #3xZ`?  
CPU: L2 cache: 512K UwzL%VIV  
CPU: Physical Processor ID: 3 V9m_q$U_  
Intel machine check reporting enabled on CPU#1. :dU]+0@kc  
CPU:   After generic, caps: bfebfbff 00000000 00000000 00000000 d[S?%=.v  
CPU:         Common caps: bfebfbff 00000000 00000000 00000000 Wo )K~g>-  
CPU1: Intel(R) Xeon(TM) CPU 2.80GHz stepping 07 Ww'kw~C  
Initializing CPU#2 *#5bnz{1m  
masked ExtINT on CPU#2 $|qBdEc(  
CPU: Trace cache: 12K u, L1 D cache: 8K ]@WCfnJ  
CPU: L2 cache: 512K C|}dX,Yy  
CPU: Physical Processor ID: 3 C1ro*  
Intel machine check reporting enabled on CPU#2. LT [L@o  
CPU:   After generic, caps: bfebfbff 00000000 00000000 00000000 s<`Nxz@0  
CPU:         Common caps: bfebfbff 00000000 00000000 00000000 ?.=|, 8  
CPU2: Intel(R) Xeon(TM) CPU 2.80GHz stepping 07 '$ zt  
Initializing CPU#3 JVA1`${@  
masked ExtINT on CPU#3 [U=7Lv3oVZ  
CPU: Trace cache: 12K u, L1 D cache: 8K #A:`%Q5U  
CPU: L2 cache: 512K R2tw7)F2?{  
CPU: Physical Processor ID: 0 Vv/x'YTp}  
Intel machine check reporting enabled on CPU#3. |/)GdbBc  
CPU:   After generic, caps: bfebfbff 00000000 00000000 00000000 (<r.`lR  
CPU:         Common caps: bfebfbff 00000000 00000000 00000000 KNC6S[BWx  
CPU3: Intel(R) Xeon(TM) CPU 2.80GHz stepping 07 fj1OJ+  
..... CPU clock speed is 2790.7326 MHz. RDJ&!!A  
CPU0<T0:1328912,T1:1063120,D:8,S:265784,C:1328920> 3ME|*X0  
CPU1<T0:1328912,T1:797344,D:0,S:265784,C:1328920> 7fb e5a[|  
CPU2<T0:1328912,T1:531552,D:8,S:265784,C:1328920> *yX.!4/  
CPU3<T0:1328912,T1:265776,D:0,S:265784,C:1328920> cHJO]wN'!  
checking TSC synchronization across CPUs: passed. 7"Cm3.  
DZJ1N!K*C  
看不懂 T}s[;\0  
你说: (11:06:25) tn^K*I7  
Intel Xeon CPU 2.80GHz * 4 "_"jy\@!  
%OP5'S}  
啊,不会吧,4个? DFQ\ p  
jOUT0X Yb  
你说: (11:06:53) BmdG]2u  
CPU0/1/2/3 8U <D5f\  
你说: (11:06:56) #xD|llAB"<  
# dmesg | grep CPU ' JcVc`mf  
Initializing CPU#0 v07g^]T  
CPU: Before vendor init, caps: bfebfbff 00000000 00000000, vendor = 0 yWf~5:  
CPU: L1 I cache: 12K, L1 D cache: 8K 8Dk@8  
CPU: L2 cache: 512K \#/DB3P,  
CPU: After vendor init, caps: bfebfbff 00000000 00000000 00000000 b^Sz `  
Intel machine check reporting enabled on CPU#0. f98EW6dq   
CPU:   After generic, caps: bfebfbff 00000000 00000000 00000000 9Qwp/%UP;  
CPU:         Common caps: bfebfbff 00000000 00000000 00000000 UAf G   
CPU: Intel(R) Pentium(R) 4 CPU 1.80GHz stepping 07 h2rgWGFd \  
# 25@-|!j5  
!(hjngU!"  
/Mgq0hn(  
这个不是真正的CPU吧,是不是有虚拟的 ;Z9%_vVQ  
0qE1Bdc C  
这里记录的服务器记录从来没有4个的,最不会吧两个 3O ;Qy  
你说: (11:08:30) rhB-LX  
新Xeon有HyperThreding技术,如果有两个物理的处理器并打开HT功能后会有显示4个,你至少有两个 Pf-qeC  
xNuc*xK  
哦,好的,那就写两个吧!:P 2mnpG\Jj  
BCB&m i]  
qu>Uun8|oj  
怎样看系统版本啊? BT8 y'>Z  
你说: (11:10:47) 6\BNS#*{  
uname -a j{Qctl?  
>; MtG4Jq9  
[root@bj etc]# uname -a X"7r%NG"I  
Linux bj 2.4.25 #11 SMP Tue Mar 30 15:15:52 CST 2004 i686 i686 i386 GNU/Linux _CltxKs  
.$tf f;x  
E-o'l>%Nx  
这是什么版本,才linux2? BQc:wN  
你说: (11:11:26) '!bY2j0  
Kernel 2.4.25 #11 SMP /yPFIe]y  
你说: (11:11:55) k(%<P[  
# dmesg | grep redhat Z|0d4N iu  
Linux version 2.4.18-3 (bhcompile@daffy.perf.redhat.com) (gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-110)) #1 Thu Apr 18 07:37:53 EDT 2002 E#[#dX~  
# i@cc $0 8  
V i_0 oQ  
&d~O  
Linux version 2.4.25 (root@bj) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #11 SMP Tue Mar 30 15:15:5 =:@.6x+(f  
9wLMJk  
这是redhat3。2。2 吗?这么低啊? Eqo QE  
你说: (11:16:18) h-}sHK6  
? dmesg | more Dk]% +  
q0[v#s*  
嗯,就是dmesg查出来的 yu F/, h  
你说: (11:23:04) zD| Q!8G  
查。。。。。。 <U&a :;]  
-*UHWE;o  
不用查了,就写linux2.4.25好了,没错吧 Fj}!jO"  
C'8Fqj1  
U-`zeqX%  
Linux Kernel 2.4.25 #11 SMP
    • 评论
    • 分享微博
    • 分享邮件
    邮件订阅

    如果您非常迫切的想了解IT领域最新产品与技术信息,那么订阅至顶网技术邮件将是您的最佳途径之一。

    重磅专题
    往期文章
    最新文章