[原]几条简单命令查询硬件信息

查询网卡型号:lspci | grep Ethernet
查询网卡速度:ethtool em1 | grep Speed
查询CPU:cat /proc/cpuinfo | grep 'model name'
查询内存:at /proc/meminfo | grep "MemTotal"

查询网卡情况:

lspci | grep Ethernet
dmesg |grep eth0
mii-tool -v eth0
ethtool eth0 | grep Speed

posted @ 2013-03-28 11:16  念槐聚  阅读(210)  评论(0编辑  收藏  举报