In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces how to view the version information under Linux, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.
How to view version information under Linux, including the number of digits, version information, CPU kernel information, CPU specific model, and so on, the whole CPU information is clear at a glance.
1. # uname-a (Linux views the current operating system kernel information of the version)
Linux localhost.localdomain 2.4.20-8 # 1 Thu Mar 13 17:54:28 EST 2003 i686 athlon i386 GNU/Linux
2. # cat / proc/version (Linux to view current operating system version information)
Linux version 2.4.20-8 (bhcompile@porky.devel.redhat.com) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) # 1 Thu Mar 13 17:54:28 EST 2003
3. # cat / etc/issue or cat / etc/redhat-release (Linux views the current operating system release information of the version)
Red Hat Linux release 9 (Shrike)
4. # cat / proc/cpuinfo (Linux views cpu related information, including model, master frequency, kernel information, etc.)
Processor: 0 vendor_id: AuthenticAMD cpu family: 15 model: 1 model name: AMD A4-3300m APU with Radeon (tm) HD Graphics stepping: 0 cpu MHz: 1896.236 cache size: 1024 KB fdiv_bug: no hlt_bug: no f00f_bug: no coma_bug: no fpu: yes Fpu_exception: yes cpuid level: 6 wp: yes flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall mmxext lm 3dnowext 3dnow bogomips: 3774.87
5. # getconf LONG_BIT (Linux view version indicates that CPU is running in 32bit mode, but it does not mean that CPU does not support 64bit)
[hadoop@admin01 ~] $getconf LONG_BIT64
6. # lsb_release-a
[root@Rocky opt] # lsb_release-aLSB Version:: core-4.1-amd64:core-4.1-noarchDistributor ID: CentOSDescription: CentOS Linux release 7.4.1708 (Core) Release: 7.4.1708Codename: Cor
Note: the query version information for the sixth is done on another machine, and if you need to use this command on the local machine to query, you first need to install this command on yum. In order to show it vividly, I personally used the command yum install-y redhat-lsb to install it on the cluster. Because there are more packages downloaded, it will take a little longer.
LSB Version:: base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarchDistributor ID: CentOSDescription: CentOS release 6.4 (Final) Release: 6.4Codename: Final Thank you for reading this article carefully I hope the article "how to View version Information under Linux" shared by the editor is helpful to everyone. At the same time, I also hope that you can support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.