iT邦幫忙

0

在Linux底下如何查詢硬體資訊?

  • 分享至 

  • twitterImage

請問在Linux底下如何查詢硬體資訊?

例如查詢主機版、CPU及記憶體等

圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中
28
ping
iT邦研究生 1 級 ‧ 2009-06-05 17:51:45
最佳解答

推薦你安裝一個不錯的工具Dmidecode
可查詢到比linux的內鍵工具更詳細

Dmidecode reports information about your system's hardware as described in your system BIOS according to the SMBIOS/DMI standard (see a sample output). This information typically includes system manufacturer, model name, serial number, BIOS version, asset tag as well as a lot of other details of varying level of interest and reliability depending on the manufacturer. This will often include usage status for the CPU sockets, expansion slots (e.g. AGP, PCI, ISA) and memory module slots, and the list of I/O ports (e.g. serial, parallel, USB)

Ubuntu, Fedora 預設都有安裝此工具。

30
anjun
iT邦新手 5 級 ‧ 2009-06-06 02:03:53

lshw>hw.txt
cat hw.txt
內建工具…

在 Ubuntu 裡,預設會被裝進來,
但在 Fedora 未預設裝進來,要再 yum install lshw 才有。

22
mobiwinner
iT邦新手 4 級 ‧ 2009-06-06 12:36:32

dmesg 這個指令可以顯示很多硬體訊息

這個查不出主機版型號

22
linyumo
iT邦新手 4 級 ‧ 2009-06-06 19:26:11

最簡易的方式,查詢/proc這目錄裡的資訊,針對你想查詢的設備,來cat出來觀看

我要發表回答

立即登入回答