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

De Asso Val Libre
Aller à : navigation, rechercher
(Utilitaires, lignes de commande)
(Utilitaires, lignes de commande)
Ligne 19 : Ligne 19 :
 
e.g. Créer une page html récapitulant la configuration matérielle d'une machine :
 
e.g. Créer une page html récapitulant la configuration matérielle d'une machine :
  
   lshw -html > /var/www/html/hwinfo.html
+
   lshw -html > /tmp//hwinfo.html
  
Consulter via (si serveur http installé)
+
Consulter via :
  
  http://localhost/hwinfo.html
+
xdg-open /tmp//hwinfo.html
  
 
; lsscsi :     
 
; lsscsi :     

Version du 9 novembre 2024 à 16:56

Utilitaires, mode graphique

hardinfo 
usbview 

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 > /tmp//hwinfo.html

Consulter via :

xdg-open /tmp//hwinfo.html
lsscsi 
procinfo 
Hw-probe 

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