Connaître son matériel : Différence entre versions

De Asso Val Libre
Aller à : navigation, rechercher
Ligne 13 : Ligne 13 :
 
   lshw -html > /var/www/html/hwinfo.html
 
   lshw -html > /var/www/html/hwinfo.html
  
Consulter via
+
Consulter via (si serveur http installé)
  
 
   http://localhost/hwinfo.html
 
   http://localhost/hwinfo.html

Version du 20 mars 2022 à 17:34

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 (si serveur http installé)

 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