Connaître son matériel : Différence entre versions
De Asso Val Libre
(→Architecture) |
|||
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 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Utilitaires, lignes de commande == | == Utilitaires, lignes de commande == | ||
Ligne 40 : | Ligne 24 : | ||
; hardinfo : | ; hardinfo : | ||
+ | |||
+ | == 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 | ||
+ | |||
+ | [[Catégorie:Admin]] | ||
[[Catégorie:Comment]] | [[Catégorie:Comment]] |
Version du 30 mai 2017 à 11:31
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
- usbview
- procinfo
Utilitaires, mode graphique
- hardinfo
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