CPU 个数
grep 'physical id' /proc/cpuinfo | sort -u
CPU 核心数
grep 'core id' /proc/cpuinfo | sort -u | wc -l
CPU 线程数
grep 'processor' /proc/cpuinfo | sort -u | wc -l
作者:就是这个MAN
链接:https://www.jianshu.com/p/55ca3fd3e4bc
来源:简书
查看实时系统资源使用情况:top
CPU 个数
grep 'physical id' /proc/cpuinfo | sort -u
CPU 核心数
grep 'core id' /proc/cpuinfo | sort -u | wc -l
CPU 线程数
grep 'processor' /proc/cpuinfo | sort -u | wc -l
作者:就是这个MAN
链接:https://www.jianshu.com/p/55ca3fd3e4bc
来源:简书
查看实时系统资源使用情况:top