查看CPU类型:
cat /proc/cpuinfo | grep "physical id" | uniq | wc -l
运行结果:
查看CPU核数:
cat /proc/cpuinfo | grep "cpu cores" | uniq
运行结果:
查看Linux内存大小:
cat /proc/meminfo | grep MemTotal
运行结果:
查看CPU类型:
cat /proc/cpuinfo | grep "physical id" | uniq | wc -l
运行结果:
查看CPU核数:
cat /proc/cpuinfo | grep "cpu cores" | uniq
运行结果:
查看Linux内存大小:
cat /proc/meminfo | grep MemTotal
运行结果: