eygle.com   eygle.com
eygle.com  
 

« Oracle 10gR2 软件下载网址收藏 | Blog首页 | 2008-06-07 又是一年高考时 »

使用kudzu命令查看网卡型号

作者:eygle |【转载时请以超链接形式标明文章和作者信息及本声明
链接:
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

历史上的今天...
      >> 2007-06-05文章:
             Canon 400D的梦魇
      >> 2006-06-05文章:
             Oracle以48.6%占有率再居首位
      >> 2005-06-05文章:
             西塘游记之三
------
这篇 【使用kudzu命令查看网卡型号】来自 www.eygle.com | CSDN技术网摘| del.icio.us|365Key

By eygle on 2008-06-05 21:12 | Comments (3) | Posted to Unix&Linux | Edit |Pageviews:

相关文章 随机文章
  • 使用Linux下script工具记录Oracle输出
  • Tools:Linux下的SYSSTAT工具
  • 将出席Quest的数据库开发及管理研讨会
  • MemTest-一款小巧的内存测试软件
  • Oracle10g Rac For Linux安装环境检查
  • 置顶:《循序渐进Oracle》一书及相关信息
    升级MT到3.1.4版本
    靓颖来公司的访谈-靓颖靓照
    又将是一个不眠的夜晚
    如何有效的编译数据库中的失效对象(Package,trigger等)
    搜索本站:

    留言 (3)

    确实是个查看机器硬件详细情况的好方法:
    其他的--class 可以查看 /etc/sysconfig/hwconfig
    #cat /etc/sysconfig/hwconfig |grep class

    Posted by: qsxing at June 6, 2008 12:56 PM

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

    Posted by: wzknet at June 11, 2008 11:33 AM

    to qsxing:
    rhel4-u6下是:
    [root@node115 ~]# cat /etc/sysconfig/hwconf | grep class

    Posted by: Eric at July 22, 2008 2:54 PM

    发表留言:



    Remember Me?
    (输入验证码后方可评论,谢谢支持)



    CopyRight © 2004 eygle.com, All rights reserved.