====== hwinfo ====== * Objet : hwinfo * Niveau requis : {{tag>débutant avisé}} * Commentaires : //Obtenir des informations sur son matériel.// * Débutant, à savoir : [[:doc:systeme:commandes:le_debianiste_qui_papillonne|Utiliser GNU/Linux en ligne de commande, tout commence là !]] :-) * Suivi : * Création par [[user>smolski]] le 19/10/2009 * Testé par [[user>milou]] le 18/06/2015 * Commentaires sur le forum : [[https://debian-facile.org/viewtopic.php?id=1916 | C'est ici.]]((N'hésitez pas à y faire part de vos remarques, succès, améliorations ou échecs !)) ===== Introduction ===== Pour connaître en détail les infos sur le matériel d'un pc, la commande ''hwinfo'' est la plus détaillée. ===== Installation ===== apt-get update && apt-get install hwinfo ===== Utilisation ===== Comme l'indique neos dans le forum, cette commande s'exécute en root (voir [[:doc:systeme:su | la commande su]]). ==== Fichier .log ==== Le résultat à l’écran de la commande ''hwinfo'' seule est trop abondant pour être lisible, il vaut mieux demander un rapport écrit par : hwinfo --all --log hardware_info.txt Le rapport sera créé dans votre [[doc:systeme:pwd |répertoire courant - commande pwd]] ==== L'option short ==== hwinfo --short donne une bonne vue d’ensemble du matériel sans être trop bavarde. ===== Exemples ===== On peut demander un rapport sur un matériel déterminé : hwinfo --cpu 01: None 00.0: 10103 CPU [Created at cpu.304] Unique ID: rdCR.j8NaKXDZtZ6 Hardware Class: cpu Arch: X86-64 Vendor: "GenuineIntel" Model: 6.23.10 "Pentium(R) Dual-Core CPU E5300 @ 2.60GHz" Features: 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,ht,tm,pbe,syscall,nx,lm,constant_tsc,arch_perfmon,pebs,bts,rep_good,pni,monitor,ds_cpl,vmx,est,tm2,ssse3,cx16,xtpr,lahf_lm Clock: 2600 MHz BogoMips: 5246.65 Cache: 2048 kb Units/Processor: 2 Config Status: cfg=new, avail=yes, need=no, active=unknown 02: None 01.0: 10103 CPU [Created at cpu.304] Unique ID: wkFv.j8NaKXDZtZ6 Hardware Class: cpu Arch: X86-64 Vendor: "GenuineIntel" Model: 6.23.10 "Pentium(R) Dual-Core CPU E5300 @ 2.60GHz" Features: 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,ht,tm,pbe,syscall,nx,lm,constant_tsc,arch_perfmon,pebs,bts,rep_good,pni,monitor,ds_cpl,vmx,est,tm2,ssse3,cx16,xtpr,lahf_lm Clock: 2600 MHz BogoMips: 5243.02 Cache: 2048 kb Units/Processor: 2 Config Status: cfg=new, avail=yes, need=no, active=unknown En version courte : hwinfo --cpu --short cpu: Pentium(R) Dual-Core CPU E5300 @ 2.60GHz, 2600 MHz Pentium(R) Dual-Core CPU E5300 @ 2.60GHz, 2600 MHz Par ordre alphabétique, c’est possible pour :-) : * all, * bios, * block, * bluetooth, * braille, * bridge, * camera, * cdrom, * chipcard, * cpu, * disk, * dsl, * dvb, * floppy, * framebuffer, * gfxcard, * hub, * ide, * isapnp, * isdn, * joystick, * keyboard, * memory, * modem, * monitor, * mouse, * netcard, * network, * partition, * pci, * pcmcia, * pcmcia-ctrl, * pppoe, * printer, * scanner, * scsi, * smp, * sound, * storage-ctrl, * sys, * tape, * tv, * usb, * usb-ctrl, * vbe, * wlan, * zip. //L'est pas belle la vie ?// LOL ===== Liens utiles ===== * http://www.meeus-d.be/linux/commandes.html#mozTocId307836 * http://linux-attitude.fr/post/lister-le-materiel * [[:doc:materiel:lister-materiel | Lister son matériel]]