Dmidecode is used to view device hardware information, including device model,BIOS, System, motherboard, processor, memory, cache details, and more.
Common parameters:
# dmidecode-h
Usage:dmidecode [OPTIONS]
Options are:
-D,--dev-mem file Read memory fromdevice file (default:/dev/mem)
read information from device files, output file content is the same as no parameters
-H,--Help Display this help Textand exit
Display Help information
-Q,--quiet less verbose output
Simplify information output
-S,--string KEYWORD only display the valueof the given DMI string
displays only the specified DMI String information (DMI is desktopmanagement Interface, which is a management system that helps collect computer system information)
-T,--type type only display theentries of given type
Show only entries of the specified type
-U,--dump do not decode theentries
show entries that do not decode
--dump-bin file Dump the dmidata to a binary file
--from-dump file Read The dmidata from a binary FILE
-V,--version Display the version andexit
Display version Information
Example:
# Dmidecode will output all hardware and system Information
# dmidecode-d/dev/mem Ibid .
# dmidecode–q simplifies output information
BIOS Information
Vendor:dell INC.
version:6.1.0
releasedate:10/18/2011
address:0xf0000
Runtimesize:64 KB
romsize:4096 KB
Characteristics:
.......................
IPMI Device Information
INTERFACETYPE:KCS (Keyboard Control Style)
specificationversion:2.0
I2cslave address:0x10
Nvstorage Device:not Present
Baseaddress:0x0000000000000ca8 (I/O)
Registerspacing:32-bit boundaries
# Dmidecode–s The retrieved DMI into the s parameter to see the specific information
Dmidecode:option requires an argument--' s '
String keyword expected
Valid String Keywords is:
Bios-vendor
Bios-version
Bios-release-date
System-manufacturer
System-product-name
System-version
System-serial-number
System-uuid
Baseboard-manufacturer
Baseboard-product-name
Baseboard-version
Baseboard-serial-number
Baseboard-asset-tag
Chassis-manufacturer
Chassis-type
Chassis-version
Chassis-serial-number
Chassis-asset-tag
Processor-family
Processor-manufacturer
Processor-version
Processor-frequency
# dmidecode-s system-product-name
PowerEdge R710
# Server model is DELL R710
# dmidecode–t to see the entry details by adding the retrieved entry to the T parameter
Dmidecode:option requires an argument--' t '
Type number or keyword expected
Valid type keywords is:
BIOS
System
Baseboard
Chassis
Processor
Memory
Cache
Connector
Slots
# dmidecode-t BIOS
# Dmidecode 2.11
SMBIOS 2.6 present.
Handle 0x0000, DMI type 0, bytes
BIOS Information
Vendor:dell INC.
version:6.1.0
releasedate:10/18/2011
address:0xf0000
Runtimesize:64 KB
romsize:4096 KB
Characteristics:
Isais supported
Pciis supported
Pnpis supported
Biosis Upgradeable
Biosshadowing is allowed
Bootfrom CD is supported
Selectableboot is supported
Eddis supported
Japanesefloppy for Toshiba 1.2 MB is supported (int 13h)
5.25 "/360KB Floppy Services is supported (int 13h)
5.25 "/1.2MB Floppy Services is supported (int 13h)
3.5 "/720KB Floppy Services is supported (int 13h)
8042keyboard Services is supported (int 9h)
Serialservices is supported (int 14h)
Cga/monovideo Services is supported (int 10h)
Acpiis supported
Usblegacy is supported
Biosboot specification is supported
functionkey-initiated network boot is supported
Targetedcontent Distribution is supported
biosrevision:6.1
Handle 0x0d00, DMI type, bytes
BIOS Language Information
Languagedescription Format:long
Installablelanguages:1
en| Us|iso8859-1
Currentlyinstalled language:en| Us|iso8859-1
There is a very strong wood bright, I use the background of the command is required to statistics production environment server hardware information, because the server is hosted in the room, that do not want to go back and forth to run the engine room, and do not want to read the original purchase list, so through access to information about this dmidecode powerful command.
Thanks http://www.ibm.com/developerworks/cn/linux/l-10sysadtips/
Share a script that counts hardware device information
http://blog.chinaunix.net/uid-26495963-id-3032523.html
This article is from "Rookie Start" blog, please make sure to keep this source http://qiliushuai.blog.51cto.com/3749857/1606436
Dmidecode usage of linux command notes