Linux下面檢視硬體資訊的工具dmidecode的介紹(轉)
Linux下面檢視硬體資訊的工具dmidecode的介紹(轉)[@more@]dmidecode是一個非常好的軟體,它可以全面的顯示你係統的資訊,包括bios、cpu、記憶體等資訊。
我用的是e.pku.edu.cn搜尋到的dmidecode-2.4.tar.gz, 安裝過程很簡單:
[root@tony dmidecode-2.4]#mv dmidecode-2.4.tar.gz /usr/local/
[root@tony dmidecode-2.4]#tar -xzvf dmidecode-2.4.tar.gz
[root@tony dmidecode-2.4]# make install
install -m 755 dmidecode /usr/local/sbin
install -m 755 biosdecode /usr/local/sbin
install -m 755 ownership /usr/local/sbin
install -m 755 vpddecode /usr/local/sbin
install -m 644 man/dmidecode.8 /usr/local/man/man8
install -m 644 man/biosdecode.8/usr/local/man/man8
install -m 644 man/ownership.8 /usr/local/man/man8
install -m 644 man/vpddecode.8 /usr/local/man/man8 就完成了。
可以看到上面有四個可執行檔案分別是:dmidecode、biosdecode、ownership、v pddecode。我們最常用的是前兩個命令。用dmidecode可以顯示非常詳細的硬體資訊。
另外,還有些小技巧。比如,顯示有幾條記憶體:
dmidecode |grep -A16 "Memory Device$"
顯示CPU的詳細資訊: dmidecode |grep -A42 "Processor"|more
注:-A42表示顯示一下的行數,你可以根據自己的情況修改。
檢視,主機板的序列號
dmidecode |grep 'Serial Number'
dmidecode | grep 'Serial Number' | awk '{print $3}' | tail -1
我用的是e.pku.edu.cn搜尋到的dmidecode-2.4.tar.gz, 安裝過程很簡單:
[root@tony dmidecode-2.4]#mv dmidecode-2.4.tar.gz /usr/local/
[root@tony dmidecode-2.4]#tar -xzvf dmidecode-2.4.tar.gz
[root@tony dmidecode-2.4]# make install
install -m 755 dmidecode /usr/local/sbin
install -m 755 biosdecode /usr/local/sbin
install -m 755 ownership /usr/local/sbin
install -m 755 vpddecode /usr/local/sbin
install -m 644 man/dmidecode.8 /usr/local/man/man8
install -m 644 man/biosdecode.8/usr/local/man/man8
install -m 644 man/ownership.8 /usr/local/man/man8
install -m 644 man/vpddecode.8 /usr/local/man/man8 就完成了。
可以看到上面有四個可執行檔案分別是:dmidecode、biosdecode、ownership、v pddecode。我們最常用的是前兩個命令。用dmidecode可以顯示非常詳細的硬體資訊。
另外,還有些小技巧。比如,顯示有幾條記憶體:
dmidecode |grep -A16 "Memory Device$"
顯示CPU的詳細資訊: dmidecode |grep -A42 "Processor"|more
注:-A42表示顯示一下的行數,你可以根據自己的情況修改。
檢視,主機板的序列號
dmidecode |grep 'Serial Number'
dmidecode | grep 'Serial Number' | awk '{print $3}' | tail -1
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10617542/viewspace-950472/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Linux下面檢視Server型號及硬體資訊的工具dmidecodeLinuxServerIDE
- linux 檢視硬體資訊Linux
- EtreCheckpro for mac(硬體資訊檢視工具)Mac
- Linux下面程式設計工具介紹(轉)Linux程式設計
- linux硬體資訊檢視命令(ZT)Linux
- Linux系統檢視硬體具體型號資訊Linux
- Linux檢視CPU資訊、機器型號等硬體資訊Linux
- Linux 系統下檢視硬體資訊命令大全Linux
- Linux 檔案內容檢視工具介紹Linux
- 通過Linux系統檢視硬體裝置資訊Linux
- AIX檢視硬體配置 - 轉AI
- 使用Windows PowerShell來檢視硬體資訊Windows
- 檢視Linux硬體的一些命令Linux
- LINUX 檢視硬體配置命令Linux
- LINUX檢視硬體配置命令Linux
- 檢視UNIX的版本資訊,硬體狀況,Solaris與Sunos
- 快速檢視LINUX 系統硬體的指令碼Linux指令碼
- 檢查和收集 Linux 硬體資訊的 7 個命令Linux
- Linux中命令列下檢視硬體資訊及系統版本Linux命令列
- linux檢視電腦硬體配置Linux
- 轉:物化檢視(Materialized View)介紹ZedView
- 介紹兩個Linux下 硬體效能測試小工具(open)Linux
- fsck-Linux檔案系統檢查工具介紹(轉)Linux
- Linux下面誤刪除檔案使用extundelete工具恢復介紹Linuxdelete
- Linux檢視記憶體資訊Linux記憶體
- 轉:Linux、AIX UNIX、SCO UNIX下檢視硬體配置小結LinuxAI
- MySQL檢視介紹MySql
- ORACLE 檢視介紹Oracle
- Apache 的資訊檢視模組(轉)Apache
- 利用命令檢視Win10系統硬體配置資訊的方法Win10
- 檢視硬體cdrom地址
- HAL 硬體抽象層介紹抽象
- kudzu命令檢視及設定網路卡等硬體資訊
- 透過adb命令檢視HP主機的系統資訊介紹
- Linux檢查硬體錯誤工具—mcelog命令Linux
- 在linux檢視記憶體的大小(轉)Linux記憶體
- HDI硬體裝置介面介紹
- ArduinoYun教程之ArduinoYun硬體介紹UI