How to view version information under Linux, including the number of bits, version information and CPU core information, CPU specific models, etc., the entire CPU information at a glance.
1.uname-a (Linux view version current operating system kernel information)
Linux iz28hv9y2qkz 3.10.0-123.9.3.el7.x86_64 #1 SMP Thu Nov 6 15:06:03 UTC x86_64 x86_64 x86_64 gnu/linux
(x86_64 represents a 64-bit system, I'm Centos7 here)
--------------------------------------------------------------------------------------------------------------- -----------
2. cat/proc/version (Linux view current operating system version information)
Cat/proc/version
Linux version 3.10.0-123.9.3.el7.x86_64 ([email protected]) (GCC version 4.8.2 20140120 (Red Hat 4.8.2-16) (gcc)) #1 SMP Thu Nov 6 15:06:03 UTC 2014
-------------------------------------------------------------------------------------------
3.cat/etc/issue or Cat/etc/redhat-release (centos7 applicable) (Linux view version current operating system release information)
CentOS Linux release 7.2.1511 (Core)
--------------------------------------------------------------------------------------------------------------- ----------
4.Cat/proc/cpuinfo (Linux view CPU-related information, including model, frequency, kernel information, etc.)
CentOS Linux release 7.2.1511 (Core)
[Email protected] project]# ^c
[Email protected] project]# Cat/proc/cpuinfo
processor:0
Vendor_id:genuineintel
CPU Family:6
Model:45
Model Name:intel (R) Xeon (r) CPU e5-2630 0 @ 2.30GHz
Stepping:7
microcode:0x70d
CPU mhz:2300.048
Cache size:15360 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 Clflush MMX FXSR SSE SSE2 HT syscall N X rdtscp lm constant_tsc rep_good nopl pni ssse3 cx16 sse4_1 sse4_2 popcnt AES Hypervisor LAHF_LM
bogomips:4600.09
Clflush size:64
Cache_alignment:64
Address sizes:46 bits physical, bits virtual
Power Management:
-------------------------------------------------------------------------------------------
5.getconf long_bit (Linux view version indicates whether the current CPU is running in 32bit mode or 64bit mode)
64
This article is from the "Toast to the Moon" blog, please be sure to keep this source http://meijinmeng.blog.51cto.com/9622619/1726098
View a summary of Linux system versions