参考链接:https://www.linuxidc.com/Linux/2014-05/101060.htm
输入以下命令安装
sudo apt-get install hardinfo
安装完后输入:hardinfo