IT软件
当前位置 :首页工程软件IT软件

linux查看版本、cpu、位数、内核、内存等信息

来源: 作者: 时间:2012-11-17 点击:
1、查看linux版本:
[root@172-1-1-168 ~]# uname -a
Linux 172-1-1-168.lightspeed.hstntx.sbcglobal.net 2.6.18-308.16.1.el5 #1 SMP Tue Oct 2 22:01:37 EDT 2012 i686 i686 i386 GNU/Linux
[root@172-1-1-168 ~]# uname -r
2.6.18-308.16.1.el5

2、查看CPU信息:
[root@172-1-1-168 ~]# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Pentium(R) Dual-Core CPU E5800 @ 3.20GHz
stepping : 10
cpu MHz : 3192.069
cache size : 2048 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss nx lm constant_tsc up nonstop_tsc pni ssse3 cx16 lahf_lm [8]
bogomips : 6384.13

3、查看CPU位数:
[root@172-1-1-168 ~]# getconf LONG_BIT
32

4、查看内存:
[root@172-1-1-168 ~]# cat /proc/meminfo
MemTotal: 1034672 kB
MemFree: 798352 kB
Buffers: 23076 kB
Cached: 88272 kB
SwapCached: 0 kB
Active: 134692 kB
Inactive: 82196 kB
HighTotal: 131008 kB
HighFree: 248 kB
LowTotal: 903664 kB
LowFree: 798104 kB
SwapTotal: 2031608 kB
SwapFree: 2031608 kB
Dirty: 28 kB
Writeback: 0 kB
AnonPages: 105548 kB
Mapped: 19620 kB
Slab: 9652 kB
PageTables: 1556 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
CommitLimit: 2548944 kB
Committed_AS: 283164 kB
VmallocTotal: 114680 kB
VmallocUsed: 5952 kB
VmallocChunk: 108580 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
Hugepagesize: 4096 kB


5、查看centos版本

[root@172-1-1-168 ~]# cat /etc/redhat-release
CentOS release 5.8 (Final)


 
上一篇:
下一篇: 已经是最后一篇
最新评论共有 位网友发表了评论
发表评论
用户名: 密码: 游客发言不需要密码