Linux下查看版本及系统信息
生活随笔
收集整理的這篇文章主要介紹了
Linux下查看版本及系统信息
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
一、查看Linux發(fā)行版本
[root@localhost ~]# cat /etc/issue CentOS release 6.8 (Final) Kernel \r on an \m [root@localhost ~]# cat /etc/redhat-release CentOS release 6.8 (Final)?二、查看Linux內(nèi)核信息
[root@localhost ~]# uname -a Linux localhost.localdomain 2.6.32-642.1.1.el6.x86_64 #1 SMP Tue May 31 21:57:07 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux三、查看版本信息
[root@localhost ~]# cat /proc/version Linux version 2.6.32-642.1.1.el6.x86_64 (mockbuild@worker1.bsys.centos.org) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-17) (GCC) ) #1 SMP Tue May 31 21:57:07 UTC 2016四、查看Linux系統(tǒng)cpu相關(guān)信息(型號、主頻、內(nèi)核等)
[root@localhost ~]# cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 60 model name : Intel Core Processor (Haswell) stepping : 1 microcode : 1 cpu MHz : 2399.996 cache size : 4096 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 de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx rdtscp lm constant_tsc rep_good unfai r_spinlock pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt t sc_deadline_timer aes xsave avx hypervisor lahf_lm xsaveopt fsgsbase bmi1 avx2 s mep bmi2 erms invpcid bogomips : 4799.99 clflush size : 64 cache_alignment : 64 address sizes : 46 bits physical, 48 bits virtual power management:五、查看Linux系統(tǒng)位數(shù)
[root@localhost ~]# getconf LONG_BIT 64?
總結(jié)
以上是生活随笔為你收集整理的Linux下查看版本及系统信息的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: php项目的建立,PHP开发-ZendS
- 下一篇: 异常解析————Parameter me