Quelques commandes utiles pour mieux connaître votre PC !
Parfois, on a du mal à bien connaître les entrailles d'un PC. Soit c'est le PC d'un ami, soit on ne sait pas à quelle vitesse tourne la RAM qu'on a installé... bref, il nous manque des infos ! Voici quelques commandes utiles !

Son OS
Voici une commande pour connaître la version de son OS et de son noyau système :
lsb_release -a
Ce qui donne chez moi un truc de ce style :
No LSB modules are available.
Distributor ID: Pop
Description: Pop!_OS 21.04
Release: 21.04
Codename: hirsute
Ensuite pour mon noyau utilisé :
uname -a
Avec pour résultat :
Linux pop-os 5.13.0-7620-generic #20~1634827117~21.04~874b071-Ubuntu SMP Fri Oct 29 15:06:55 UTC x86_64 x86_64 x86_64 GNU/Linux
Plus d'infos ? Voici inxi !
Si vous n'avez pas encore installé inxi, sous les debian :
sudo apt install inxi
Ensuite, voici la commande :
inxi -Fc0
Qui donne chez moi :
System: Host: pop-os Kernel: 5.13.0-7620-generic x86_64 bits: 64 Desktop: GNOME 3.38.4 Distro: Pop!_OS 21.04
Machine: Type: Desktop Mobo: ASUSTeK model: TUF B450-PLUS GAMING v: Rev X.0x serial: <superuser required>
UEFI: American Megatrends v: 2202 date: 07/14/2020
CPU: Info: 6-Core model: AMD Ryzen 5 2600 bits: 64 type: MT MCP L2 cache: 3 MiB
Speed: 3173 MHz max: 3400 MHz Core speeds (MHz): 1: 3173 2: 3198 3: 2192 4: 2832 5: 3024 6: 3884 7: 2509 8: 3174
9: 2320 10: 2480 11: 2557 12: 3790
Graphics: Device-1: Advanced Micro Devices [AMD/ATI] Navi 14 [Radeon RX 5500/5500M / Pro 5500M] driver: amdgpu v: kernel
Display: x11 server: X.Org 1.20.11 driver: loaded: amdgpu,ati unloaded: fbdev,modesetting,radeon,vesa resolution:
1: 1920x1080~60Hz 2: 1680x1050~60Hz
OpenGL: renderer: Radeon RX 5500 XT (NAVI14 DRM 3.41.0 5.13.0-7620-generic LLVM 12.0.0) v: 4.6 Mesa 21.2.2
Audio: Device-1: Advanced Micro Devices [AMD/ATI] Navi 10 HDMI Audio driver: snd_hda_intel
Device-2: Advanced Micro Devices [AMD] Family 17h HD Audio driver: snd_hda_intel
Device-3: Yamaha AG06/AG03 type: USB driver: snd-usb-audio
Device-4: Sunplus Innovation Full HD webcam type: USB driver: snd-usb-audio,uvcvideo
Sound Server: ALSA v: k5.13.0-7620-generic
Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169
IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: 24:4b:fe:4b:12:7e
Device-2: Intel Wireless 8260 driver: iwlwifi
IF: wlp4s0 state: down mac: f4:8c:50:45:58:08
Bluetooth: Device-1: Intel Bluetooth wireless interface type: USB driver: btusb
Report: ID: hci0 state: down address: F4:8C:50:45:58:0C
Drives: Local Storage: total: 5.91 TiB used: 2.83 TiB (47.9%)
ID-1: /dev/sda vendor: Western Digital model: WD4002FYYZ-01B7CB1 size: 3.64 TiB
ID-2: /dev/sdb vendor: Seagate model: ST2000DL003-9VT166 size: 1.82 TiB
ID-3: /dev/sdc vendor: Samsung model: SSD 850 EVO 500GB size: 465.76 GiB
Partition: ID-1: / size: 449.09 GiB used: 353.9 GiB (78.8%) fs: ext4 dev: /dev/sdc3
ID-2: /boot/efi size: 497 MiB used: 354.9 MiB (71.4%) fs: vfat dev: /dev/sdc1
Swap: ID-1: swap-1 type: partition size: 4 GiB used: 2.46 GiB (61.6%) dev: /dev/dm-0
Sensors: System Temperatures: cpu: 49.0 C mobo: 30.0 C gpu: amdgpu temp: 32.0 C
Fan Speeds (RPM): cpu: 1250 fan-2: 826 fan-3: 0 fan-4: 2295 fan-6: 0 gpu: amdgpu fan: 1312
Info: Processes: 460 Uptime: 13d 2h 53m Memory: 15.56 GiB used: 7.75 GiB (49.8%) Shell: Bash inxi: 3.3.01
CPU, Ram... ?
La commande lshw est une commande à connaître, elle est très utile !
Pour le CPU
sudo lshw -C cpu
Là c'est nécessaire d'accéder à des parties plus importantes de votre PC, d'où l'autorisation sudo nécessaire.
*-cpu
description: CPU
produit: AMD Ryzen 5 2600 Six-Core Processor
fabricant: Advanced Micro Devices [AMD]
identifiant matériel: 2c
information bus: cpu@0
version: AMD Ryzen 5 2600 Six-Core Processor
numéro de série: Unknown
emplacement: AM4
taille: 2931MHz
capacité: 3900MHz
bits: 64 bits
horloge: 100MHz
fonctionnalités: lm fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp x86-64 constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb hw_pstate ssbd ibpb vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves clzero irperf xsaveerptr arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif overflow_recov succor smca sme sev sev_es cpufreq
configuration : cores=6 enabledcores=6 threads=12
Pour la RAM
sudo lshw -C memory
Ce qui donne :
*-firmware
description: BIOS
fabricant: American Megatrends Inc.
identifiant matériel: 0
version: 2202
date: 07/14/2020
taille: 64KiB
capacité: 16MiB
fonctionnalités: pci apm upgrade shadowing cdboot bootselect socketedrom edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer acpi usb biosbootspecification uefi
*-memory
description: Mémoire Système
identifiant matériel: 27
emplacement: Carte mère
taille: 16GiB
*-bank:0
description: Project-Id-Version: @(#) $Id$Report-Msgid-Bugs-To: PO-Revision-Date: 2021-02-24 05:27+0000Last-Translator: Lyonel Vincent <Unknown>Language-Team: MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitX-Launchpad-Export-Date: 2021-04-15 22:13+0000X-Generator: Launchpad (build 929bdb49da44562d032228b8f93c5c598dae8678)Project-Id-Version: @(#) $Id$Report-Msgid-Bugs-To: PO-Revision-Date: 2021-02-24 05:27+0000Last-Translator: Lyonel Vincent <Unknown>Language-Team: MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitX-Launchpad-Export-Date: 2021-04-15 22:13+0000X-Generator: Launchpad (build 929bdb49da44562d032228b8f93c5c598dae8678) [vide]
produit: Unknown
fabricant: Unknown
identifiant matériel: 0
numéro de série: Unknown
emplacement: DIMM_A1
*-bank:1
description: DIMM DDR4 Synchrone Unbuffered (Unregistered) 3200 MHz (0,3 ns)
produit: CMK16GX4M2Z3200C16
fabricant: Corsair
identifiant matériel: 1
numéro de série: 00000000
emplacement: DIMM_A2
taille: 8GiB
bits: 64 bits
horloge: 3200MHz (0.3ns)
*-bank:2
description: Project-Id-Version: @(#) $Id$Report-Msgid-Bugs-To: PO-Revision-Date: 2021-02-24 05:27+0000Last-Translator: Lyonel Vincent <Unknown>Language-Team: MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitX-Launchpad-Export-Date: 2021-04-15 22:13+0000X-Generator: Launchpad (build 929bdb49da44562d032228b8f93c5c598dae8678)Project-Id-Version: @(#) $Id$Report-Msgid-Bugs-To: PO-Revision-Date: 2021-02-24 05:27+0000Last-Translator: Lyonel Vincent <Unknown>Language-Team: MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitX-Launchpad-Export-Date: 2021-04-15 22:13+0000X-Generator: Launchpad (build 929bdb49da44562d032228b8f93c5c598dae8678) [vide]
produit: Unknown
fabricant: Unknown
identifiant matériel: 2
numéro de série: Unknown
emplacement: DIMM_B1
*-bank:3
description: DIMM DDR4 Synchrone Unbuffered (Unregistered) 3200 MHz (0,3 ns)
produit: CMK16GX4M2Z3200C16
fabricant: Corsair
identifiant matériel: 3
numéro de série: 00000000
emplacement: DIMM_B2
taille: 8GiB
bits: 64 bits
horloge: 3200MHz (0.3ns)
*-cache:0
description: L1 cache
identifiant matériel: 29
emplacement: L1 - Cache
taille: 576KiB
capacité: 576KiB
horloge: 1GHz (1.0ns)
fonctionnalités: pipeline-burst internal write-back unified
configuration : level=1
*-cache:1
description: L2 cache
identifiant matériel: 2a
emplacement: L2 - Cache
taille: 3MiB
capacité: 3MiB
horloge: 1GHz (1.0ns)
fonctionnalités: pipeline-burst internal write-back unified
configuration : level=2
*-cache:2
description: L3 cache
identifiant matériel: 2b
emplacement: L3 - Cache
taille: 16MiB
capacité: 16MiB
horloge: 1GHz (1.0ns)
fonctionnalités: pipeline-burst internal write-back unified
configuration : level=3
Interfaces réseau
Toujours avec lshw !
sudo lshw -C network
C'est parti pour le réseau !
*-network
description: Ethernet interface
produit: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
fabricant: Realtek Semiconductor Co., Ltd.
identifiant matériel: 0
information bus: pci@0000:03:00.0
nom logique: enp3s0
version: 15
numéro de série: 24:4b:fe:4b:12:7e
taille: 1Gbit/s
capacité: 1Gbit/s
bits: 64 bits
horloge: 33MHz
fonctionnalités: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration : autonegotiation=on broadcast=yes driver=r8169 driverversion=5.13.0-7620-generic duplex=full firmware=rtl8168h-2_0.0.2 02/26/15 ip=192.168.1.82 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
ressources : irq:29 portE/S:f000(taille=256) mémoire:fcb04000-fcb04fff mémoire:fcb00000-fcb03fff
*-network DÉSACTIVÉ
description: Interface réseau sans fil
produit: Wireless 8260
fabricant: Intel Corporation
identifiant matériel: 0
information bus: pci@0000:04:00.0
nom logique: wlp4s0
version: 3a
numéro de série: f4:8c:50:45:58:08
bits: 64 bits
horloge: 33MHz
fonctionnalités: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration : broadcast=yes driver=iwlwifi driverversion=5.13.0-7620-generic firmware=36.ca7b901d.0 8000C-36.ucode latency=0 link=no multicast=yes wireless=IEEE 802.11
ressources : irq:68 mémoire:fca00000-fca01fff
Voilà ! N'oubliez pas ces quelques commandes utiles !
Voici un récapitulatif
OS, système : lsb_release -a et uname -a
Configuration globale : inxi -Fc0
CPU, RAM : sudo lshw -C cpu et sudo lshw -C memory
Réseaux : sudo lshw -C network
#CLI #Terminal #Matériel #Linux








J'ai eu une période PC only (où j'ai “loupé” des consoles comme la N64, PS2, GameCube, Wii et PS3). Cette période est pour moi aussi une période où je découvre l'émulation (UltraHLE pour Zelda OoT que j'ai fini sur émulateur) et beaucoup de jeux non sortis en Europe (les J-RPG de la Snes comme Rudra No Hihou, Seiken Densetsu 3, les shoot-them-up de l'arcade (Cave mon ami)...).
Je jouais principalement sur PC avec Baldur's Gate, DukeNukem3D, Quake 3, Homeworld, Civilization, Morrowind, SilkroadOnline... J'ai arpenté pas mal de forums sur l'émulation, dont le regretté
Puis, j'ai acquis quelques consoles portables (GBA, NDS, 3DS). Je suis revenu aux consoles de salon Nintendo avec la Switch. Je me suis créé sur un RaspberryPi une petite machine multi-jeux qui me permet de redécouvrir des systèmes que j'avais un peu zappé (Megadrive et PSP surtout).