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/03 Report--
How to view the hardware configuration of the machine under linux:
1. Check the cpu model
Code:
More / proc/cpuinfo | baigrep-I model
2. Show how many physical network cards there are
Code:
Lspci | grep Eth | wc-l
3. display the serial number of the motherboard
Code:
Dmidecode | grep 'Serial Number'
4. Check the hard disk model
Code:
More / proc/scsi/scsi | grep-I model
5. Check the number of physical CPU
Code:
Cat / proc/cpuinfo | grep "physical id" | sort | uniq | wc-l
6. Check the number of logical CPU
Code:
Cat / proc/cpuinfo | grep "processor" | wc-l
7. Check how many cores CPU is.
Code:
Cat / proc/cpuinfo | grep "cores" | uniq
This is how to view the hardware configuration of the machine under linux. For more details, please pay attention to other related articles!
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.