新聞中心
linux系統(tǒng)的驅(qū)動(dòng)是通過內(nèi)核的抽象層實(shí)現(xiàn)的,它是所有Linux系統(tǒng)的重要組成部分。驅(qū)動(dòng)的查詢是掌握Linux系統(tǒng)的重要操作,使用特定的指令可以查詢到當(dāng)前系統(tǒng)的驅(qū)動(dòng)。下面介紹幾條可以查詢Linux系統(tǒng)驅(qū)動(dòng)的指令:

lsmod命令:lsmod命令用于羅列已載入內(nèi)核模塊,它可以羅列出當(dāng)前系統(tǒng)正在使用的模塊,是得到系統(tǒng)中已經(jīng)安裝的模塊的有效手段,該命令需要root權(quán)限才能執(zhí)行:
[root@localhost ~]# lsmod
Module Size Used by
dm_interleave 48 0
dm_mod 1344 0
SCSI_dh 9739 0
ata_piix 4093 0
dmesg命令:dmesg命令可以顯示系統(tǒng)日志緩沖中的內(nèi)容,它會(huì)顯示當(dāng)前系統(tǒng)的所有硬件設(shè)備及其狀態(tài):
[root@localhost ~]# dmesg
scsi 0 : detected total 5 devices
scsi 0 channel 0 : detected HDD
scsi 0 channel 0 : detected optical drive
scsi 0 channel 0 : detected cdrom drive
scsi 0 channel 0 : SCSI CD-ROM drive
lspci命令:lspci命令可以使用來查找當(dāng)前系統(tǒng)中所有插入的 PCI 設(shè)備,從而查看當(dāng)前系統(tǒng)的驅(qū)動(dòng):
[root@localhost ~]# lspci
00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller
00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller
00:19.0 Ethernet controller: Intel Corporation 82577LM Gigabit Network Connection
00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller
以上就是Linux系統(tǒng)的驅(qū)動(dòng)查詢指令,其中l(wèi)smod、dmesg、lspci三條指令是最常用的,它們可以查看當(dāng)前系統(tǒng)的驅(qū)動(dòng)信息,可以幫助用戶掌握Linux系統(tǒng)的工作狀態(tài),也可以幫助快速發(fā)現(xiàn)系統(tǒng)問題源頭,進(jìn)而進(jìn)行解決。
創(chuàng)新互聯(lián)成都網(wǎng)站建設(shè)公司提供專業(yè)的建站服務(wù),為您量身定制,歡迎來電(028-86922220)為您打造專屬于企業(yè)本身的網(wǎng)絡(luò)品牌形象。
成都創(chuàng)新互聯(lián)品牌官網(wǎng)提供專業(yè)的網(wǎng)站建設(shè)、設(shè)計(jì)、制作等服務(wù),是一家以網(wǎng)站建設(shè)為主要業(yè)務(wù)的公司,在網(wǎng)站建設(shè)、設(shè)計(jì)和制作領(lǐng)域具有豐富的經(jīng)驗(yàn)。
新聞標(biāo)題:掌握Linux系統(tǒng)的驅(qū)動(dòng)查詢指令(linux查看驅(qū)動(dòng)命令)
當(dāng)前網(wǎng)址:http://m.fisionsoft.com.cn/article/cogpgce.html


咨詢
建站咨詢
