用kudzu命令查看网卡型号
kudzu 是Linux下检测硬件变化的命令,这个命令可以用于检查系统中网卡的型号等信息:
kudzu(1)
NAME
kudzu - detects and configures new and/or changed hardware on a system
SYNOPSIS
kudzu
DESCRIPTION
kudzu detects and configures new and/or changed hardware on a system.
When started, kudzu detects the current hardware, and checks it against
a database stored in /etc/sysconfig/hwconf, if one exists. It then
determines if any hardware has been added or removed from the system.
If so, it gives the users the opportunity to configure any added hard-
ware, and unconfigure any removed hardware. It then updates the
database in /etc/sysconfig/hwconf.
If no previous database exists, kudzu attempts to determine what
devices have already been configured, by looking at /etc/modules.conf,
/etc/sysconfig/network-scripts/, and /etc/X11/XF86Config.
以下是这个命令执行的输出示例:
[root@wapdbrac1 ~]# kudzu --probe --class=network
-
class: NETWORK
bus: PCI
detached: 0
device: eth1
driver: bnx2
desc: "Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet"
network.hwaddr: 00:1B:78:97:E4:EA
vendorId: 14e4
deviceId: 164c
subVendorId: 103c
subDeviceId: 7038
pciType: 1
pcidom: 0
pcibus: 5
pcidev: 0
pcifn: 0
-
class: NETWORK
bus: PCI
detached: 0
device: eth0
driver: bnx2
desc: "Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet"
network.hwaddr: 00:1B:78:97:E4:EC
vendorId: 14e4
deviceId: 164c
subVendorId: 103c
subDeviceId: 7038
pciType: 1
pcidom: 0
pcibus: 3
pcidev: 0
pcifn: 0相关阅读:
Windows Script Host之用vbs实现[浏览文件夹]功能
PHP扩展编写点滴 技巧收集
Ajax的内部实现机制、原理与实践小结
《PHP边学边教》(02.Apache+PHP环境配置——下篇)
当Asp.Net验证控件遇到FCKeditor
防止网站内容被拷贝的一些方法与优缺点好处与坏处分析
用PHP实现递归循环每一个目录
php中文本数据翻页(留言本翻页)
ASP.NET 前台javascript与后台代码调用
CSS对表格单元格强制换行和不换行
(五)—类的继承
在线ASC码查询
javascript编程必备_JS语法字典
理解FreeBSD中的图形界面X系统