linux下查看cpu的情况
-
2023-04-04 05:27:26
- 来源:未知
-
在手机上看
扫一扫立即进入手机端
现在机器的cpu越来越复杂,一个cpu,经常是几个内核,4,6,8都不是什么稀罕的事情。
当年我公司购买一台8cpu的AMD服务器,双核,当时看到cpu很壮观,16个cpu。
现在一台普通的2U的服务器,都可能看到这种场景。
http://planet.admon.org/howto/about-cpu-the-logical-and-physical-cores/
There are some commands here to help identify these type of information quickly on a running Linux:
Total amount of processors including the logical ones:
# cat /proc/cpuinfo | grep “processor“| wc -l
Total amount of CPU package:
# cat /proc/cpuinfo | grep “physical id“ | sort | uniq | wc -l
How many cores for each CPU. (Here we should call CPU as physical package as we mentioned above):
# cat /proc/cpuinfo | grep “cpu cores“ | wc -l
For each physical CPU, the amount of Logical CPU (the logical CPU can be physical cores, soft cores like threaded, or both).
# cat /proc/cpuinfo | grep “siblings“
相关资讯
更多-
运满满司机找货app手机版
中文|151.8M
-
美图秀秀64位版本
中文|179.4M
-
小米usb驱动程序
中文|
-
2345看图王电脑版
中文|25.2M
-
速8酒店
中文|49.6M
-
全免漫画软件
中文|37.5M
-
Advanced SystemCare Free
中文|44.8M
-
央视影音平板版(大屏幕使用)
中文|31.7M
-
招行个人银行专业版
中文|18.0M
-
手机收音机官方版
中文|16.8M
-
欣师网校软件
中文|39.5M
-
贝壳拼音
中文|136.0M
-
坦克终极对决大战场
中文|126.27MB
-
手机usb驱动cdc serial驱动
中文|
-
华为手机usb驱动(handset windriver)
中文|
-
汉仪新蒂金钟体 Regular字体(Senty Golden Bell)
中文|4.4M
-
狂野进化游戏WildEvolution
中文|34.9M
-
FileMenu Tools(Windows右键菜单增强工具)
中文|7.0M
-
潮图文案官方版
中文|33.6M
-
罗技Logitech G HUB
中文|
-
儿童涂色板APP
中文|37.0M
-
月子食谱怀孕育儿
中文|13.1M
-
看漫画最新版
中文|101.1M
-
典读(经典文学免费阅读)
中文|53.5M