2015年11月29日 星期日

查詢硬體資訊 (inxi)

# 轉載自 http://xubuntu.org/news/inxi/
Information typeCommand, usage, and more information
System informationinxi -b and inxi -F
The b option output basic system information, while the Foption will output full system information.
Hard drive detailsinxi -D
Outputs information on your hard drives, like make, model and size
Hard drive partitionsinxi -p
Outputs information about all mounted partitions, mount points and space usage
Networkinginxi -n and inxi -ni
Outputs information about the details of the network interfaces and configuration. When the i option is used withn, Inxi will output IP address details (for both WAN and LAN).
Hardwareinxi -AG and inxi -h
The A and G options output information about the audio and graphics hardware respectively. You usually want to use them together. The h option outputs you the full list of options you can use to get even more information about your hardware.

2015年11月13日 星期五

查硬體資訊

可用 lshw 這程式來檢查的話,可用下面的指令來安裝,因為是指令式的程式,所以,裝好也不會出現在選單上。
apt-get install lshw

lshw 可以產出多種報表的格式,lshw 可以產出文字檔,HTML 和 XML 等三種格式,HTML 格式比較方便人來看,而 XML 格式則是可以方便程式來對產出的報表做後續的處理,下面就是分別產出三種格式的指令。

sudo lshw > hwmessage.txt

sudo lshw -html > hwmessage.html

sudo lshw -xml > hwmessage.xml
--
參考「阿舍的隨手記記」資料 : http://www.arthurtoday.com/2012/11/lshw-tutorial.html