CPU 逻辑个数
cat /proc/cpuinfo |grep "processor"
硬盘
df -h
内存
free -h
配置dns
sudo vim /etc/resolv.conf
重启
sudo reboot
Ubuntu版本查看
lsb_release -a