Welcome! 登入 註冊
美寶首頁 美寶百科 美寶論壇 美寶落格 美寶地圖

Advanced

Change History

Message: dmidecode:在 Linux 中查詢系統硬體資訊的指令(利用BIOS)

Changed By: mepoadm
Change Date: July 08, 2009 04:18AM

dmidecode:在 Linux 中查詢系統硬體資訊的指令(利用BIOS):dmidecode
簡要說明:

Shell> dmidecode -t processor --> CPU 詳細資訊
Shell> dmidecode -t memory --> Memoery 資訊
Shell> dmidecode -t/--type --> 列出所有 type 選項



實例介紹:
我們在很多情況都需要知道 Linux 安裝在什麼樣的伺服器的硬體規格底下,但由於很多時候系統不是自己架的或不是自已經手購買,對詳細的資訊一下也很難查到。dmidecode這個指令幫我們轉譯硬體的BIOS資訊,讓我們能很方便地了解系統詳細的硬體資訊。

一般而言,我們用下列指令就可以得到系統硬體資訊:


Shell> dmidecode --type system/processor/memory/...


例如

Shell> dmidecode --type system

的結果會顯示:

# dmidecode 2.9
SMBIOS 2.3 present.

Handle 0x0100, DMI type 1, 25 bytes
System Information
  Manufacturer: HP
  Product Name: ProLiant DL380 G4

  Version: Not Specified
  Serial Number: SGH526X028
  UUID: 33393539-3736-5347-4835-323658303238
  Wake-up Type: Power Switch


我們就可以不用到Server旁邊,穿過重重障礙就可以知道 Sever是 HP ProLiant DL 380 G4。


而若是輸入
Shell> dmidecode --type processor

就可以看到以下(節錄)資訊:

Processor Information
   Socket Designation: Proc 2
   Type: Central Processor
   Family: Xeon
   Manufacturer: Intel
   ID: 43 0F 00 00 FF FB EB BF
   Signature: Type 0, Family 15, Model 4, Stepping 3
     Version: Not Specified
   Voltage: 1.4 V
   External Clock: 800 MHz
   Max Speed: 4800 MHz
   Current Speed: 3200 MHz
   Status: Populated, Idle


其中我們可以發現 CPU 是 Intel Xeon at 3.5Ghz


深入資訊:
Get Information About Your BIOS / Server Hardware From a Shell Without Opening Chassis ( BIOS Decoder ), cyberciti.biz, July 24, 2008.
Changed By: HP
Change Date: June 05, 2009 01:51PM

在 Linux 中查中查詢系統硬體(利用BIOS)的指令:dm資訊的指令(利用BIOS):dmidecode
簡要說明:

Shell> dmidecode -t processor --> CPU 詳細資訊
Shell> dmidecode -t memory --> Memoery 資訊
Shell> dmidecode -t/--type --> 列出所有 type 選項



實例介紹:
我們在很多情況都需要知道 Linux 安裝在什麼樣的伺服器的硬體規格底下,但由於很多時候系統不是自己架的或不是自已經手購買,對詳細的資訊一下也很難查到。dmidecode這個指令幫我們轉譯硬體的BIOS資訊,讓我們能很方便地了解系統詳細的硬體資訊。

一般而言,我們用下列指令就可以得到系統硬體資訊:


Shell> dmidecode --type system/processor/memory/...


例如

Shell> dmidecode --type system

的結果會顯示:

# dmidecode 2.9
SMBIOS 2.3 present.

Handle 0x0100, DMI type 1, 25 bytes
System Information
  Manufacturer: HP
  Product Name: ProLiant DL380 G4

  Version: Not Specified
  Serial Number: SGH526X028
  UUID: 33393539-3736-5347-4835-323658303238
  Wake-up Type: Power Switch


我們就可以不用到Server旁邊,穿過重重障礙就可以知道 Sever是 HP ProLiant DL 380 G4。


而若是輸入
Shell> dmidecode --type processor

就可以看到以下(節錄)資訊:

Processor Information
   Socket Designation: Proc 2
   Type: Central Processor
   Family: Xeon
   Manufacturer: Intel
   ID: 43 0F 00 00 FF FB EB BF
   Signature: Type 0, Family 15, Model 4, Stepping 3
     Version: Not Specified
   Voltage: 1.4 V
   External Clock: 800 MHz
   Max Speed: 4800 MHz
   Current Speed: 3200 MHz
   Status: Populated, Idle


其中我們可以發現 CPU 是 Intel Xeon at 3.5Ghz


深入資訊:
Get Information About Your BIOS / Server Hardware From a Shell Without Opening Chassis ( BIOS Decoder ), cyberciti.biz, July 24, 2008.
Changed By: HP
Change Date: May 31, 2009 01:45AM

在 Linux 中查中查中查詢系統硬體(利用BIOS)的指令:dm資訊的指令(利用BIOS):dmidecode
簡要說明:

Shell> dmidecode -t processor --> CPU 詳細資訊
Shell> dmidecode -t memory --> Memoery 資訊
Shell> dmidecode -t/--type --> 列出所有 type 選項



實例介紹:
我們在很多情況都需要知道 Linux 安裝在什麼樣的伺服器的硬體規格底下,但由於很多時候系統不是自己架的或不是自已經手購買,對詳細的資訊一下也很難查到。dmidecode這個指令幫我們轉譯硬體的BIOS資訊,讓我們能很方便地了解系統詳細的硬體資訊。

一般而言,我們用下列指令就可以得到系統硬體資訊:


Shell> dmidecode --type system/processor/memory/...


例如

Shell> dmidecode --type system

的結果會顯示:

# dmidecode 2.9
SMBIOS 2.3 present.

Handle 0x0100, DMI type 1, 25 bytes
System Information
  Manufacturer: HP
  Product Name: ProLiant DL380 G4

  Version: Not Specified
  Serial Number: SGH526X028
  UUID: 33393539-3736-5347-4835-323658303238
  Wake-up Type: Power Switch


我們就可以不用到Server旁邊,穿過重重障礙就可以知道 Sever是 HP ProLiant DL 380 G4。


而若是輸入
Shell> dmidecode --type processor

就可以看到以下(節錄)資訊:

Processor Information
   Socket Designation: Proc 2
   Type: Central Processor
   Family: Xeon
   Manufacturer: Intel
   ID: 43 0F 00 00 FF FB EB BF
   Signature: Type 0, Family 15, Model 4, Stepping 3
     Version: Not Specified
   Voltage: 1.4 V
   External Clock: 800 MHz
   Max Speed: 4800 MHz
   Current Speed: 3200 MHz
   Status: Populated, Idle


其中我們可以發現 CPU 是 Intel Xeon at 3.5Ghz


深入資訊:
Get Information About Your BIOS / Server Hardware From a Shell Without Opening Chassis ( BIOS Decoder ), cyberciti.biz, July 24, 2008.
Changed By: HP
Change Date: May 30, 2009 09:11PM

在 Linux 中查中查中查詢系統硬體(利用BIOS)的指令:dm資訊的指令(利用BIOS):dmidecode
簡要說明:
<preview>
Shell> dmidecode -t processor --> CPU 詳細資訊
Shell> dmidecode -t memory --> Memoery 資訊
Shell> dmidecode -t/--Shell> dmidee -t/--type --> 列出所有 type 選項
</preview>


實例介紹:
我們在很多情況都需要知道 Linux 安裝在什麼樣的伺服器的硬體規格底下,但由於很多時候系統不是自己架的或不是自已經手購買,對詳細的資訊一下也很難查到。<b>dmidecode</b>這個指令幫我們轉譯硬體的BIOS資訊,讓我們能很方便地了解系統詳細的硬體資訊。

一般而言,我們用下列指令就可以得到系統硬體資訊:

<preview>
Shell> dmidecode --type system/processor/memory/...
</preview>

例如
<code>
Shell> dmidecode --type system

的結果會顯示:

# dmidecode 2.9
SMBIOS 2.3 present.

Handle 0x0100, DMI type 1, 25 bytes
System Information
  <b>Manufacturer: HP
  Product Name: ProLiant DL380 G4</b>
  Version: Not Specified
  Serial Number: SGH526X028
  UUID: 33393539-3736-5347-4835-323658303238
  Wake-up Type: Power Switch


我們就可以不用到Server旁邊,穿過重重障礙就可以知道 Sever是 HP ProLiant DL 380 G4。


而若是輸入
Shell> dmidecode --type processor

就可以看到以下(節錄)資訊:

Processor Information
&nbsp;&nbsp; Socket Designation: Proc 2
&nbsp;&nbsp; Type: Central Processor
&nbsp;&nbsp; Family: Xeon
&nbsp;&nbsp; Manufacturer: Intel
&nbsp;&nbsp; ID: 43 0F 00 00 FF FB EB BF
&nbsp;&nbsp; Signature: Type 0, Family 15, Model 4, Stepping 3
&nbsp;&nbsp;&nbsp;&nbsp; Version: Not Specified
&nbsp;&nbsp; Voltage: 1.4 V
&nbsp;&nbsp; External Clock: 800 MHz
&nbsp;&nbsp; Max Speed: 4800 MHz
&nbsp;&nbsp; Current
>Current sp; <b>F
</b>
: Xeon</b>
&nbsp;&nbsp; <b>Manufacturer: Intel</b>
&nbsp;&nbsp; ID: 43 0F 00 00 FF FB EB BF
&nbsp;&nbsp; Signature: Type 0, Family 15, Model 4, Stepping 3
&nbsp;&nbsp;&nbsp;&nbsp; Version: Not Specified
&nbsp;&nbsp; Voltage: 1.4 V
&nbsp;&nbsp; External Clock: 800 MHz
&nbsp;&nbsp; Max Speed: 4800 MHz
&nbsp;&nbsp; <b>Current Speed: 3200 MHz</b>
&nbsp;&nbsp; Status: Populated, Idle
</code>

其中我們可以發現 CPU 是 Intel Xeon at 3.5Ghz


深入資訊:
<a href=http://www.cyberciti.biz/tips/querying-dumping-bios-from-linux-command-prompt.html>Get Information About Your BIOS / Server Hardware From a Shell Without Opening Chassis ( BIOS Decoder )</a>, cyberciti.biz, July 24, 2008.
Changed By: HP
Change Date: May 30, 2009 09:08PM

在 Linux 中查中查中查詢系統硬體(利用BIOS)的指令:dm資訊的指令(利用BIOS):dmidecode
簡要說明:
<preview>
Shell> dmidecode -t processor --> CPU 詳細資訊
Shell> dmidecode -t memory --> Memoery 資訊
Shell> dmidecode -t/--Shell> dmidecode -t/--選項(雖然是 invalid command)
Shell> dmide例e -t/--type --> 列出所有 type 選項
</preview>


實例介紹:
我們在很多情況都需要知道 Linux 安裝在什麼樣的伺服器的硬體規格底下,但由於很多時候系統不是自己架的或不是自已經手購買,對詳細的資訊一下也很難查到。<b>dmidecode</b>這個指令幫我們轉譯硬體的BIOS資訊,讓我們能很方便地了解系統詳細的硬體資訊。

一般而言,我們用下列指令就可以得到系統硬體資訊:

<preview>
Shell> dmidecode --type system/processor/memory/...
</preview>

例如
<code>
Shell> dmidecode --type system

的結果會顯示:

# dmidecode 2.9
SMBIOS 2.3 present.

Handle 0x0100, DMI type 1, 25 bytes
System Information
  <b>Manufacturer: HP
  Product Name: ProLiant DL380 G4</b>
  Version: Not Specified
  Serial Number: SGH526X028
  UUID: 33393539-3736-5347-4835-323658303238
  Wake-up Type: Power Switch


我們就可以不用到Server旁邊,穿過重重障礙就可以知道 Sever是 HP ProLiant DL 380 G4。


而若是輸入
Shell> dmidecode --type processor

就可以看到以下(節錄)資訊:

Processor Information
&nbsp;&nbsp; Socket Designation: Proc 2
&nbsp;&nbsp; Type: Central Processor
&nbsp;&nbsp; Family: Xeon
&nbsp;&nbsp; Manufacturer: Intel
&nbsp;&nbsp; ID: 43 0F 00 00 FF FB EB BF
&nbsp;&nbsp; Signature: Type 0, Family 15, Model 4, Stepping 3
&nbsp;&nbsp;&nbsp;&nbsp; Version: Not Specified
&nbsp;&nbsp; Voltage: 1.4 V
&nbsp;&nbsp; External Clock: 800 MHz
&nbsp;&nbsp; Max Speed: 4800 MHz
&nbsp;&nbsp; Current sp; <b>F
: Xeon</b>
&nbsp;&nbsp; <b>Manufacturer: Intel</b>
&nbsp;&nbsp; ID: 43 0F 00 00 FF FB EB BF
&nbsp;&nbsp; Signature: Type 0, Family 15, Model 4, Stepping 3
&nbsp;&nbsp;&nbsp;&nbsp; Version: Not Specified
&nbsp;&nbsp; Voltage: 1.4 V
&nbsp;&nbsp; External Clock: 800 MHz
&nbsp;&nbsp; Max Speed: 4800 MHz
&nbsp;&nbsp; <b>Current Speed: 3200 MHz</b>
&nbsp;&nbsp; Status: Populated, Idle
</code>

其中我們可以發現 CPU 是 Intel Xeon at 3.5Ghz


深入資訊:
<a href=http://www.cyberciti.biz/tips/querying-dumping-bios-from-linux-command-prompt.html>Get Information About Your BIOS / Server Hardware From a Shell Without Opening Chassis ( BIOS Decoder )</a>, cyberciti.biz, July 24, 2008.
Changed By: HP
Change Date: May 30, 2009 09:06PM

在 Linux 中查中查中查詢系統硬體(利用BIOS)的指令:dm資訊的指令(利用BIOS):dmidecode
簡要說明:
<preview>
Shell> dmidecode -t processor --> CPU 詳細資訊
Shell> dmidecode -t memory --> Memoery 資訊
Shell> dmidecode -t/--type --> 例出所有 type 選項(雖然是 invalid command)
</preview>


實例介紹:
出所有 type 選項
</preview>


實例介紹:
我們在很多情況都需要知道 Linux 安裝在什麼樣的伺服器的硬體規格底下,但由於很多時候系統不是自己架的或不是自已經手購買,對詳細的資訊一下也很難查到。<b>dmidecode</b>這個指令幫我們轉譯硬體的BIOS資訊,讓我們能很方便地了解系統詳細的硬體資訊。

一般而言,我們用下列指令就可以得到系統硬體資訊:

<preview>
Shell> dmidecode --type system/processor/memory/...
</preview>

例如
<code>
Shell> dmidecode --type system

的結果會顯示:

# dmidecode 2.9
SMBIOS 2.3 present.

Handle 0x0 <b> Manufacturer: HP
Product Name: ProLiant DL380 G4</b>
Version: Not Specified
Serial Number: SGH526X028
UUID: 33393539-3736-5347-4835-323658303238
Wake-up Type: Power Switch


我們就可以不用到Server旁邊,穿過重重障礙就可以知道 Sever是 HP ProLiant DL 380 G4。
80 G4。
type 1, 25 bytes
System Information
  <b>Manufacturer: HP
  Product Name: ProLiant DL380 G4</b>
  Version: Not Specified
  Serial Number: SGH526X028
  UUID: 33393539-3736-5347-4835-323658303238
  Wake-up Type: Power Switch


我們就可以不用到Server旁邊,穿過重重障礙就可以知道 Sever是 HP ProLiant DL 380 G4。


而若是輸入
Shell> dmidecode --type processor

&nbsp;&nbsp;&nbsp;&nbsp; Version: Not 可以看到以下(節錄)資訊:

Processor Information
&nbsp;&nbsp; Socket Designation: Proc 2
&nbsp;&nbsp; Type: Central Processor
&nbsp;&nbsp; Family: Xeon
&nbsp;&nbsp; Manufacturer: Intel
&nbsp;&nbsp;
ID: 4Referece:
其中我們可以發現 CPU 是 Intel Xeon at 3.5Ghz


深入資訊:
<a href=
4, Stepping 3
&nbsp;&nbsp;&nbsp;&nbsp; Version: Not Spe>Get Information About Your BIOS / Server Hardware From a Shell Without Opening Chassis ( BIOS Decoder )</a>, cyberciti.biz, July 24, 2008. Current sp; <b>F
: Xeon</b>
&nbsp;&nbsp; <b>Manufacturer: Intel</b>
&nbsp;&nbsp; ID: 43 0F 00 00 FF FB EB BF
&nbsp;&nbsp; Signature: Type 0, Family 15, Model 4, Stepping 3
&nbsp;&nbsp;&nbsp;&nbsp; Version: Not Specified
&nbsp;&nbsp; Voltage: 1.4 V
&nbsp;&nbsp; External Clock: 800 MHz
&nbsp;&nbsp; Max Speed: 4800 MHz
&nbsp;&nbsp; <b>Current Speed: 3200 MHz</b>
&nbsp;&nbsp; Status: Populated, Idle
</code>

其中我們可以發現 CPU 是 Intel Xeon at 3.5Ghz


深入資訊:
<a href=http://www.cyberciti.biz/tips/querying-dumping-bios-from-linux-command-prompt.html>Get Information About Your BIOS / Server Hardware From a Shell Without Opening Chassis ( BIOS Decoder )</a>, cyberciti.biz, July 24, 2008.
Changed By: HP
Change Date: May 30, 2009 08:50PM

在 Linux 中查中查中查詢系統硬體(利用BIOS)的指令:dm資訊的指令(利用BIOS):dmidecode
出所有 type 選項
</preview>


實例介紹:
我們在很多情況都需要知道 Linux 安裝在什麼樣的伺服器的硬體規格底下,但由於很多時候系統不是自己架的或不是自已經手購買,對詳細的資訊一下也很難查到。<b>dmidecode</b>這個指令幫我們轉譯硬體的BIOS資訊,讓我們能很方便地了解系統詳細的硬體資訊。

一般而言,我們用下列指令就可以得到系統硬體資訊:

<preview>
Shell> dmidecode --type system/proce<preview>
Shell> dmidecode --type system

的結果會顯示:

# dmidecode 2.9
SMBIOS 2.3 present.

Handle 0x0100, DMI type 1, 25 bytes
System Information
Manufacturer: HP
Product Name: ProLiant DL380 G4
Version: Not Specified
Serial Number: SGH526X028
UUID: 33393539-3736-5347-4835-323658303238
Wake-up Type: Power Switch

Handle 0x2000, DMI type 32, 11 bytes
System Boot Information
Status: No errors detected
</preview>


l Number: SGH526X028
UUID: 33393539-3736-5347-4835-323658303238
Wake-up Type: Power Switch


我們就可以不用到Server旁邊,穿過重重障礙就可以知道 Sever是 HP ProLiant DL 380 G4。


而若是輸入
Shell> dmidecode --type processor

就可以看到以下(節錄)資訊:

Processor Information
&nbsp;&nbsp; Socket Designation: Proc 2
&nbsp;&nbsp; Type: Central Processor
&nbsp;&nbsp; Family: Xeon
&nbsp;&nbsp; Manufacturer: Intel
&nbsp;&nbsp; ID: 43 0F 00 00 FF FB EB BF
&nbsp;&nbsp; Signature: Type 0, Family 15, Model 4, Stepping 3
&nbsp;&nbsp;&nbsp;&nbsp; Version: Not Specified
&nbsp;&nbsp; Voltage: 1.4 V
&nbsp;&nbsp; External Clock: 800 MHz
&nbsp;&nbsp; Max Speed: 4800 MHz
&nbsp;&nbsp; Current Speed: 3200 MHz
&nbsp;&nbsp; Status: Populated, Idle

</code>
idecode --type processor

就&nbsp;&nbsp;&nbsp;&nbsp; Version: Not 可以看到以下(節錄)資訊:

Processor Information
&nbsp;&nbsp; Socket Designation: Proc 2
&nbsp;&nbsp; Type: Central Processor
&nbsp;&nbsp; Family: Xeon
&nbsp;&nbsp; Manufacturer: Intel
&nbsp;&nbsp;
ID: 4Referece:
4, Stepping 3
&nbsp;&nbsp;&nbsp;&nbsp; Version: Not Spe Current sp; <b>F
: Xeon</b>
&nbsp;&nbsp; <b>Manufacturer: Intel</b>
&nbsp;&nbsp; ID: 43 0F 00 00 FF FB EB BF
&nbsp;&nbsp; Signature: Type 0, Family 15, Model 4, Stepping 3
&nbsp;&nbsp;&nbsp;&nbsp; Version: Not Specified
&nbsp;&nbsp; Voltage: 1.4 V
&nbsp;&nbsp; External Clock: 800 MHz
&nbsp;&nbsp; Max Speed: 4800 MHz
&nbsp;&nbsp; <b>Current Speed: 3200 MHz</b>
&nbsp;&nbsp; Status: Populated, Idle
</code>

其中我們可以發現 CPU 是 Intel Xeon at 3.5Ghz


深入資訊:
<a href=http://www.cyberciti.biz/tips/querying-dumping-bios-from-linux-command-prompt.html>Get Information About Your BIOS / Server Hardware From a Shell Without Opening Chassis ( BIOS Decoder )</a>, cyberciti.biz, July 24, 2008.

Original Message

作者: HP
Date: May 30, 2009 08:40PM

在 Linux 中查中查中查詢系統硬體(利用BIOS)的指令:dm資訊的指令(利用BIOS):dmidecode
出所有 type 選項



實例介紹:
我們在很多情況都需要知道 Linux 安裝在什麼樣的伺服器的硬體規格底下,但由於很多時候系統不是自己架的或不是自已經手購買,對詳細的資訊一下也很難查到。dmidecode這個指令幫我們轉譯硬體的BIOS資訊,讓我們能很方便地了解系統詳細的硬體資訊。

一般而言,我們用下列指令就可以得到系統硬體資訊:


Shell> dmidecode --type system/proce
Shell> dmidecode --type system

的結果會顯示:

# dmidecode 2.9
SMBIOS 2.3 present.

Handle 0x0100, DMI type 1, 25 bytes
System Information
Manufacturer: HP
Product Name: ProLiant DL380 G4
Version: Not Specified
Serial Number: SGH526X028
UUID: 33393539-3736-5347-4835-323658303238
Wake-up Type: Power Switch

Handle 0x2000, DMI type 32, 11 bytes
System Boot Information
Status: No errors detected



idecode --type processor

就     Version: Not 可以看到以下(節錄)資訊:

Processor Information
   Socket Designation: Proc 2
   Type: Central Processor
   Family: Xeon
   Manufacturer: Intel
  
ID: 4Referece:
4, Stepping 3
     Version: Not Spe Current sp; F
: Xeon

   Manufacturer: Intel
   ID: 43 0F 00 00 FF FB EB BF
   Signature: Type 0, Family 15, Model 4, Stepping 3
     Version: Not Specified
   Voltage: 1.4 V
   External Clock: 800 MHz
   Max Speed: 4800 MHz
   Current Speed: 3200 MHz
   Status: Populated, Idle


其中我們可以發現 CPU 是 Intel Xeon at 3.5Ghz


深入資訊:
Get Information About Your BIOS / Server Hardware From a Shell Without Opening Chassis ( BIOS Decoder ), cyberciti.biz, July 24, 2008.