#显示物理核心数sysctl hw.physicalcpu#显示逻辑核心数sysctl hw.logicalcpu 转载于:https://www.cnblogs.com/QuestionsZhang/p/10268015.html