Connaître son matériel : Différence entre versions
De Asso Val Libre
(→Utilitaires, lignes de commande) |
|||
Ligne 1 : | Ligne 1 : | ||
Cf http://www.linuxjournal.com/content/whats-box-interrogate-your-linux-machines-hardware | Cf http://www.linuxjournal.com/content/whats-box-interrogate-your-linux-machines-hardware | ||
+ | |||
+ | == 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 | ||
== Utilitaires, lignes de commande == | == Utilitaires, lignes de commande == |
Version du 30 mai 2017 à 11:30
Cf http://www.linuxjournal.com/content/whats-box-interrogate-your-linux-machines-hardware
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
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
- usbview
- procinfo
Utilitaires, mode graphique
- hardinfo