暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

使用kudzu命令查看网卡型号

原创 eygle 2008-06-05
914
kudzu 是Linux下检测硬件变化的命令,这个命令可以用于检查系统中网卡的型号等信息:



kudzu(1)                                                              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

「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论