In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
In this issue, the editor will bring you information about how to view CPU/ memory / hard disk in Linux. The article is rich in content and analyzed and described from a professional point of view. I hope you can get something after reading this article.
1 View CPU 1.1View the number of CPU
Cat / proc/cpuinfo | grep "physical id" | uniq | wc-l
# 2 uniq command: delete duplicate lines; wc-l command: count rows
1.2 View CPU cores
Cat / proc/cpuinfo | grep "cpu cores" | uniq
Cpu cores: 4
1.3 View CPU model
Cat / proc/cpuinfo | grep 'model name' | uniq
Model name: Intel (R) Xeon (R) CPU E5630 @ 2.53GHz
Summary: the server has two 4-core CPU, model Intel (R) Xeon (R) CPU E5630 @ 2.53GHZ
2 View memory 2.1View total memory # cat / proc/meminfo | grep MemTotal
MemTotal: 32941268 kB / / 32 GB memory
2.2 View memory entries this section is quoted from the Sina blog post "Linux View memory entries"
View the original text:
Dmidecode | grep-A16 "Memory Device$"
Summary: the server has two 2GB memory and 4 slots left
3 View hard disk 3.1 check hard disk size
Fdisk-l | grep Disk
Disk / dev/cciss/c0d0: 146.7 GB, 146778685440 bytes
This is how to view CPU/ memory / hard disk information in Linux shared by Xiaobian. If you happen to have similar doubts, you might as well refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.
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.