Linux查看CPU个数:cat /proc/cpuinfo | grep "physical id" | sort| wc -l
cat /proc/cpuinfo | grep "physical id" | sort| wc -l
查看GPU信息lspci | grep -i vga
lspci | grep -i vga
也可以使用 lshw -C display命令
lshw -C display