1.每个cpu是几核(假设cpu配置相同)

more /proc/cpuinfo |grep "physical id"|grep "0"|wc

2.1查看物理CPU的个数

3.查看逻辑CPU的个数
#cat /proc/cpuinfo |grep "processor"|wc -l

linux查看CPU数

 

相关文章:

  • 2021-10-13
  • 2022-12-23
  • 2022-12-23
  • 2021-11-02
  • 2021-07-08
  • 2021-05-19
  • 2021-10-06
猜你喜欢
  • 2021-06-23
  • 2021-07-25
  • 2022-12-23
  • 2022-12-23
  • 2021-07-06
  • 2022-12-23
  • 2021-10-30
相关资源
相似解决方案