LINUX??2é?′CPUD??¢
来源:未知 责任编辑:责任编辑 发表时间:2015-03-01 01:40 点击:次
linux?üá?£ocat /proc/cpuinfo
ó??üá??D????????àíCPU£?????o?μè£o
???-CPU??êy£o
# cat /proc/cpuinfo | grep “processor” | wc -l
??àíCPU??êy£o
# cat /proc/cpuinfo | grep “physical id” | sort | uniq | wc -l
??????àíCPU?DCoreμ???êy£o
# cat /proc/cpuinfo | grep “cpu cores” | wc -l
�??a3???3�
è?1?óDá??????-CPU??óD?àí?μ?”core id”£????′3???3ìê?′ò?aμ??£
??????àíCPU?D???-CPU(?é?üê?core, threads?òboth)μ???êy£o
# cat /proc/cpuinfo | grep “siblings”
×ü?á??,?′??àíCPUêé,?′physincal_id,′ó0?aê???,?′????CPU?àéùo?,?ò?′
core_id
相关新闻>>
最新推荐更多>>>
- 发表评论
-
- 最新评论 更多>>