oracle按型号显示,使用kudzu命令查看网卡型号

使用kudzu命令查看网卡型号

6ee5639a40442445944d63b514b2dd02.png

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

By eygle on 2008-06-05 21:12 |

Comments (4) |

System | 1936 |

4 Comments

确实是个查看机器硬件详细情况的好方法:

其他的--class 可以查看 /etc/sysconfig/hwconfig

#cat /etc/sysconfig/hwconfig |grep class

我的SuSe Linux Enterprise Server 9 (i586)没有这个命令。我一般用dmidecode

to qsxing:

rhel4-u6下是:

[root@node115 ~]# cat /etc/sysconfig/hwconf | grep class

lspci不好用么?

可惜Linux目前不能像AIX那样定位硬件的位置吧?

而且不能确保下次的硬件检测、识别的顺序和上次是一样的吧?

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值