Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to view the current version information under Linux

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "how to view the current version information under Linux". The content in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "how to view current version information under Linux".

How to view the version information under Linux, including the number of digits, version information, CPU kernel information, specific CPU model, and so on, the whole CPU information is clear at a glance:

1. Linux to view the kernel information of the current operating system.

[root@spark220] # uname-a

Hint: Linux spark220 3.10.0-514.el7.x86_64 # 1 SMP Tue Nov 22 16:42:41 UTC 2016 x86 "64 GNU/Linux

2. Linux to view the current operating system version information

[root@spark220 ~] # cat / proc/version

Hint: Linux version 3.10.0-514.el7.x86_64 (builder@kbuilder.dev.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-11) (GCC)) # 1 SMP Tue Nov 22 16:42:41 UTC 2016

3. Linux to view the current operating system release information of the version

[root@spark220 ~] # cat / etc/redhat-release

Hint: CentOS Linux release 7.3.1611 (Core)

4. Linux to view cpu-related information, including model, main frequency, kernel information, etc.

[root@spark220 ~] # cat / proc/cpuinfo

Tip:

Processor: 0

Vendor_id: GenuineIntel

Cpu family: 6

Model: 58

Model name: Intel (R) Core (TM) i5-3320m CPU @ 2.60GHz

Stepping: 9

Microcode: 0x12

Cpu MHz: 2594.158

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 arch_perfmon pebs bts nopl xtopology tsc_reliable nonstop_tsc aperfmperf eagerfpu pni pclmulqdq ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt aes xsave avx f16c rdrand hypervisor lahf_lm ida arat epb pln pts dtherm fsgsbase smep xsaveopt

Bogomips: 5188.42

Clflush size: 64

Cache_alignment: 64

Address sizes: 40 bits physical, 48 bits virtual

Power management:

5. The version of Linux indicates that CPU is running in 32bit mode, but it does not mean that CPU does not support 64bit.

[root@spark220 ~] # getconf LONG_BIT

Tip: 64

Thank you for your reading, the above is the content of "how to view the current version information under Linux". After the study of this article, I believe you have a deeper understanding of how to view the current version information under Linux, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report