2511月 2019 linux查询系统信息 by 爱偷吃猫的鱼 1、查看cpu物理核数 cat /proc/cpuinfo| grep “cpu cores”| uniq 2、查看cpu逻辑核数 cat /proc/cpuinfo| grep “processor”| wc -l 3、查看内存大小 cat /proc/meminfo| grep MemTotal Posted in: Linux ⋅ Tagged: centos, linux