User Tools

Site Tools


informatique:linux:liste_materiel

This is an old revision of the document!


Inventaire matériel

Cette page décrit les différentes méthodes pour récupérer de l'information “bas niveau” sur le matériel d'une machine Linux.

lsusb

lspci

Affiche les informations sur les matériels connectés sur le bus PCI

lspci
 00:00.0 Host bridge: Silicon Integrated Systems [SiS] 662 Host (rev 01)
 00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SiS AGP Port (virtual PCI-to-PCI bridge)
 00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS964 [MuTIOL Media IO] (rev 36)
 00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev 01)
 00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] AC'97 Sound Controller (rev a0)
 00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
 00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
 00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
 00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
 00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 91)
 00:05.0 IDE interface: Silicon Integrated Systems [SiS] SATA (rev 01)
 00:06.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
 00:1f.0 PCI bridge: Silicon Integrated Systems [SiS] PCI-to-PCI bridge
 01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 661/741/760 PCI/AGP or 662/761Gx PCIE VGA Display Adapter (rev 04)

On peut récupérer des informations complémentaires :

lspci -v
 00:06.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
      Subsystem: Netgear Device 311a
      Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 17
      I/O ports at 2000 [size=256]
      Memory at 4a105000 (32-bit, non-prefetchable) [size=256]
      Expansion ROM at 4a140000 [disabled] [size=128K]
      Capabilities: [dc] Power Management version 2
      Kernel driver in use: r8169
      Kernel modules: r8169

(résultats tronqués pour n'afficher que ma carte réseau)

Pour récupérer des informations sur le vendeur et/ou un matériel à partir de leur code identifiant, faire une recherche sur le site pcidatabase.com

dmidecode

Affiche les information concernant le BIOS, carte mère, CPU, etc…).

Exemple de sortie (tronquée sur les informations de la carté mère uniquement) :

dmidecode
 Handle 0x0006, DMI type 2, 20 bytes
 Base Board Information
     Manufacturer: Intel Corporation
     Product Name: D201GLY
     Version: AAE14305-401
     Serial Number: <num de série>
     Asset Tag: Base Board Asset Tag
     Features:
         Board is a hosting board
         Board is replaceable
     Location In Chassis: Base Board Chassis Location
     Chassis Handle: 0x0007
     Type: Unknown
     Contained Object Handles: 0

lshw

lshal

Contenu dans le paquet hal

hdparm

Pour gérer les disques durs.

Arborescence /proc

cat /proc/cpuinfo
 processor       : 0
 vendor_id       : GenuineIntel
 cpu family      : 6
 model           : 22
 model name      : Intel(R) Celeron(R) CPU          220  @ 1.20GHz
 stepping        : 1
 cpu MHz         : 1200.072
 cache size      : 512 KB
 fdiv_bug        : no
 hlt_bug         : no
 f00f_bug        : no
 coma_bug        : no
 fpu             : yes
 fpu_exception   : yes
 cpuid level     : 10
 wp              : yes
 flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi    mmx fxsr sse sse2 ss tm pbe lm constant_tsc up arch_perfmon pebs bts pni monitor ds_cpl tm2 ssse3 cx16 xtpr lahf_lm
 bogomips        : 2402.40
 clflush size    : 64
 power management:

Liens

informatique/linux/liste_materiel.1381783496.txt.gz · Last modified: 2016/07/01 12:31 (external edit)