OS関連
目次
Linuxのコマンドラインで機器情報を取得する方法。
dmidecodeコマンドを使用する。
# dmidecode --type system
# dmidecode 3.2
Getting SMBIOS data from sysfs.
SMBIOS 3.1.1 present.
Handle 0x001C, DMI type 1, 27 bytes
System Information
Manufacturer: HPE
Product Name: ProLiant DL20 Gen10
Version: Not Specified
Serial Number: 00000000
UUID: 00000000-000-0000-0000-00000000
Wake-up Type: Power Switch
SKU Number: 00000000
Family: ProLiant
Handle 0x004A, DMI type 32, 11 bytes
System Boot Information
Status: No errors detected# dmidecode 3.3
Getting SMBIOS data from sysfs.
SMBIOS 2.7 present.
Handle 0x0001, DMI type 1, 27 bytes
System Information
Manufacturer: VMware, Inc.
Product Name: VMware7,1
Version: None
Serial Number: VMware-00 00 00 00 00 00 00 00
UUID: 00000000-000-0000-0000-00000000
Wake-up Type: Power Switch
SKU Number: Not Specified
Family: Not Specified
Handle 0x009E, DMI type 23, 13 bytes
System Reset
Status: Enabled
Watchdog Timer: Present
Boot Option: Do Not Reboot
Boot Option On Limit: Do Not Reboot
Reset Count: Unknown
Reset Limit: Unknown
Timer Interval: Unknown
Timeout: Unknown
Handle 0x00A1, DMI type 32, 11 bytes
System Boot Information
Status: No errors detected