查看Linux系统版本信息方法


#uname -a (查看操作系统内核信息)
Linux updb.inspur 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

#cat /proc/version  (查看操作系统版本信息)
Linux version 2.6.32-431.el6.x86_64 ([email protected]) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC) ) #1 SMP Fri Nov 22 03:15:09 UTC 2013


# cat /etc/issue   (查看操作系统发行版信息)
CentOS release 6.5 (Final)
Kernel \r on an \m

#cat /proc/cpuinfo  (查看CPU相关信息)
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 62
model name      : Intel(R) Xeon(R) CPU E7-4820 v2 @ 2.00GHz
stepping        : 7
cpu MHz         : 2000.000
cache size      : 16384 KB
physical id     : 0
siblings        : 4
core id         : 0
cpu cores       : 4
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmovpat pse36 clflush dts mmx fxsr sse sse2 ss ht syscall nx rdtscp lm constant_tscarch_perfmon pebs bts xtopology tsc_reliable nonstop_tsc aperfmperf unfair_spinlock pni pclmulqdq ssse3 cx16 sse4_1 sse4_2 popcnt aes xsave avx hypervisor lahf_lm ida arat epb xsaveopt pln pts dts
bogomips        : 4000.00
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management:

processor       : 1
----此处省略-----


processor       : 2
----此处省略-----

猜你喜欢

转载自huangqiqing123.iteye.com/blog/2241088