码迷,mamicode.com
首页 > 系统相关 > 详细

查看linux系统版本命令汇总

时间:2015-12-29 15:55:40      阅读:198      评论:0      收藏:0      [点我收藏+]

标签:

Linux下如何查看版本信息, 包括位数、版本信息以及CPU内核信息、CPU具体型号等等,整个CPU信息一目了然。

 
  1、Linux查看版本当前操作系统内核信息
 
  命令:uname -a
  技术分享
  2、Linux查看当前操作系统版本信息
 
  命令:cat /proc/version
  技术分享
  3、Linux查看版本当前操作系统发行版信息
 
  命令:cat /etc/redhat-release
  技术分享

  4、Linux查看cpu相关信息,包括型号、主频、内核信息等
 
  命令:cat /proc/cpuinfo
[root@CentOS-study /]# cat /proc/cpuinfo
processor    : 0
vendor_id    : GenuineIntel
cpu family    : 6
model        : 69
model name    : Intel(R) Core(TM) i5-4200U CPU @ 1.60GHz
stepping    : 1
microcode    : 28
cpu MHz        : 2294.749
cache size    : 3072 KB
physical id    : 0
siblings    : 1
core id        : 0
cpu cores    : 1
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 cmov pat pse36 clflush dts mmx fxsr sse sse2 ss syscall nx rdtscp lm constant_tsc up arch_perfmon pebs bts xtopology tsc_reliable nonstop_tsc aperfmperf unfair_spinlock pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt xsave avx hypervisor lahf_lm ida arat epb pln pts dts
bogomips    : 4589.49
clflush size    : 64
cache_alignment    : 64
address sizes    : 40 bits physical, 48 bits virtual
power management:

[root@CentOS-study /]# 
 
  5、Linux查看版本说明当前CPU运行在64bit模式下, 但不代表CPU不支持32bit
    
   命名:getconf LONG_BIT
  技术分享
 

查看linux系统版本命令汇总

标签:

原文地址:http://www.cnblogs.com/gamehiboy/p/5085868.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!