1.查看CPU:
grep "physical id" /proc/cpuinfo | sort | uniq | wc -l
2.查看内存:
cat /proc/meminfo | grep MemTotal
3.查看磁盘大小:
fdisk -l