時間:2015-06-28 00:00:00 來源:IT貓撲網(wǎng) 作者:網(wǎng)管聯(lián)盟 我要評論(0)
kudzu 是Linux下檢測硬件變化的命令,這個命令可以用于檢查系統(tǒng)中網(wǎng)卡的型號等信息:
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.
以下是這個命令執(zhí)行的輸出示例:
[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
關(guān)鍵詞標(biāo)簽:kudzu命令,網(wǎng)卡
相關(guān)閱讀
熱門文章 安裝紅帽子RedHat Linux9.0操作系統(tǒng)教程 Tomcat9.0如何安裝_Tomcat9.0環(huán)境變量配置方法 多種操作系統(tǒng)NTP客戶端配置 Linux操作系統(tǒng)修改IP
人氣排行 Linux下獲取CPUID、硬盤序列號與MAC地址 dmidecode命令查看內(nèi)存型號 linux tc實(shí)現(xiàn)ip流量限制 安裝紅帽子RedHat Linux9.0操作系統(tǒng)教程 linux下解壓rar文件 lcx.exe、nc.exe、sc.exe入侵中的使用方法 Ubuntu linux 關(guān)機(jī)、重啟、注銷 命令 查看linux服務(wù)器硬盤IO讀寫負(fù)載