Connaître son matériel : Différence entre versions
De Asso Val Libre
Ligne 5 : | Ligne 5 : | ||
; dmidecode : | ; dmidecode : | ||
+ | |||
; hwinfo : | ; hwinfo : | ||
Ligne 17 : | Ligne 18 : | ||
; lsscsi : | ; lsscsi : | ||
− | + | ||
; procinfo : | ; procinfo : | ||
Ligne 24 : | Ligne 25 : | ||
; hardinfo : | ; hardinfo : | ||
+ | ; usbview : | ||
== Architecture == | == Architecture == |
Version du 10 octobre 2017 à 14:38
Cf http://www.linuxjournal.com/content/whats-box-interrogate-your-linux-machines-hardware
Utilitaires, lignes de commande
- dmidecode
- hwinfo
- lshw
e.g. Créer une page html récapitulant la configuration matérielle d'une machine :
lshw -html > /var/www/html/hwinfo.html
Consulter via
http://localhost/hwinfo.html
- lsscsi
- procinfo
Utilitaires, mode graphique
- hardinfo
- usbview
Architecture
https://www.ostechnix.com/check-linux-system-32-bit-64-bit/
Déterminer si l'architecture est 32 bits ou 64 bits ?
uname -m file /usr/bin/id dpkg --print-architecture getconf LONG_BIT
Les réponses sont
- i386 / i686 / 32 ==> Architecture 32bits
- x86_64 / 64 ==> Architecture 64bits