免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1954 | 回复: 2

用kudzu命令查看网卡型号 [复制链接]

论坛徽章:
0
发表于 2010-03-23 17:32 |显示全部楼层
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

浦华众诚培训网技术学院  转载

论坛徽章:
1
天秤座
日期:2013-10-23 13:20:42
发表于 2010-03-23 17:51 |显示全部楼层
我根本就不启动这个服务

论坛徽章:
0
发表于 2010-03-23 21:54 |显示全部楼层
我机子没有这么命令
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP