In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 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 information of cpu by Linux". Interested friends may wish to have a look at it. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn "how Linux can view all kinds of current information about cpu".
How to view CPU information under Linux, including digits and multicore information. Today, let's take a look at the various commands and displays of linux viewing cpu information. I believe it will be helpful to you. The following is a detailed view, and the corresponding instructions are made.
# uname-a
Linux euis1 2.6.9-55.ELsmp # 1 SMP Fri Apr 20 17:03:35 EDT 2007 i686 i686 i386 GNU/Linux
(Linux views cpu's current operating system kernel information)
# cat / etc/issue | grep Linux
Red Hat Enterprise Linux AS release 4 (Nahant Update 5)
(Linux views the current operating system release information of cpu)
# cat / proc/cpuinfo | grep name | cut-f2-d: | uniq-c
8 Intel (R) Xeon (R) CPU E5410 @ 2.33GHz
(Linux checks that cpu has 8 logical CPU and also knows the CPU model.)
# cat / proc/cpuinfo | grep physical | uniq-c
4 physical id: 0
4 physical id: 1
(Linux checks cpu to show that they are actually two 4-core CPU.)
# getconf LONG_BIT
thirty-two
(Linux viewing cpu indicates that CPU is currently running in 32bit mode, but it does not mean that CPU does not support 64bit)
# cat / proc/cpuinfo | grep flags | grep'lm'| wc-l
eight
(the result is greater than 0, indicating that 64bit computing is supported. Lm refers to long mode, while supporting lm means 64bit)
* take a complete look at the physical information of cpu, but most of us don't care about it.
# dmidecode | grep-A48 'Processor Information$'
At this point, I believe you have a deeper understanding of "how Linux views all kinds of current information about cpu". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue 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.