Connaître son matériel sous LINUX
par
popularité : 3%
Connaître son matériel :
La commande : dmidecode
# dmidecode --help Usage: dmidecode [OPTIONS] Options are: -d, --dev-mem FILE Read memory from device FILE (default: /dev/mem) -h, --help Display this help text and exit -q, --quiet Less verbose output -s, --string KEYWORD Only display the value of the given DMI string -t, --type TYPE Only display the entries of given type -u, --dump Do not decode the entries --dump-bin FILE Dump the DMI data to a binary file --from-dump FILE Read the DMI data from a binary file -V, --version Display the version and exit
Il y a deux grande famille d’option -s et -t
# dmidecode -s
dmidecode : option requires an argument — s
String keyword expected
Valid string keywords are :
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 -t
dmidecode : option requires an argument — t
Type number or keyword expected
Valid type keywords are :
bios
system
baseboard
chassis
processor
memory
cache
connector
slot
Exemple :
# dmidecode -t chassis
# dmidecode 2.11
SMBIOS 2.7 present.
Handle 0x0300, DMI type 3, 21 bytes
Chassis Information
Manufacturer : HP
Type : Rack Mount Chassis
Lock : Not Present
Version : Not Specified
Serial Number : CQ213308AM
Asset Tag :
Boot-up State : Safe
Power Supply State : Safe
Thermal State : Safe
Security Status : Unknown
OEM Information : 0x00000000
Height : 2 U
Number Of Power Cords : 2
Contained Elements : 0
Pour Ubuntu et débian :
http://memo-linux.com/10-outils-info-materiel-sous-linux-ubuntudebian/
http://doc.ubuntu-fr.org/connaitre_son_materiel