CPU个数查看:cat /proc/cpuinfo | grep "physical id" | sort | uniq | wc -l
查看CPU核数: cat /proc/cpuinfo | grep "core id" | sort | uniq | wc -l
查看线程数:cat /proc/cpuinfo | grep "processor" | sort | uniq | wc -l
cpu 指令
推荐阅读
- Luogu 2939 [USACO09FEB]改造路Revamping Trails && Luogu 4568 [JLOI2011]飞行路线
- Luogu 3292 [SCOI2016]幸运数字
- Luogu 4151 [WC2011]最大XOR和路径
- CF 662C Binary Table
- LOJ 2537 「PKUWC2018」Minimax
- Luogu 4438 [HNOI/AHOI2018]道路
- Luogu 3242 [HNOI2015]接水果
- Luogu 3957 [NOIP2017]普及组 跳房子
- Luogu 3594 [POI2015]WIL-Wilcze doły
- The 2019 China Collegiate Programming Contest Harbin Site