查詢Linux的版本與硬體資訊指令如下:

一.查詢Linux版本資訊
[root@mis~]# lsb_release -a
LSB Version: :core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: CentOS
Description: CentOS release 5 (Final)
Release: 5
Codename: Final

二.查詢主機硬體資訊
[root@mis~]# dmidecode --type
Type number or keyword expected
Valid type keywords are:
bios
system
baseboard
chassis
processor
memory
cache
connector
slot

dmidecode下載與詳細說明網址:http://www.nongnu.org/dmidecode/

以上來源出自:http://jojochen.blog.ithome.com.tw/summary.php?op=UserProfile&userId=2530

arrow
arrow
    全站熱搜

    dreamtails 發表在 痞客邦 留言(0) 人氣()