<?xml version="1.0" encoding="UTF-8" ?>
<!-- RSS generated by PHPBoost on Mon, 18 May 2026 12:24:15 +0200 -->
<rss version="2.0" xmlns:atom="https://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Wiki]]></title>
		<atom:link href="https://www.mageialinux-online.org/syndication/rss/wiki/56" rel="self" type="application/rss+xml"/>
		<link>https://www.mageialinux-online.org</link>
		<description><![CDATA[Derniers articles de la catégorie Outils en console]]></description>
		<copyright>(C) 2005-2026 PHPBoost</copyright>
		<language>fr</language>
		<generator>PHPBoost</generator>
		
            <item>
                <title><![CDATA[Utiliser lshw]]></title>
                <link>https://www.mageialinux-online.org/wiki/utiliser-lshw</link>
                <guid>https://www.mageialinux-online.org/wiki/utiliser-lshw</guid>
                <description><![CDATA[<h2 class="formatter-title wiki-paragraph-2" id="paragraph-presentation">Présentation</h2><br />

<pre style="display:inline;">lshw</pre> (pour <em>List Hardware</em>) est un utilitaire sous Linux qui permet d'afficher des informations détaillées sur le matériel de votre machine. Analogue à <a href="https://www.mageialinux-online.org/wiki/utiliser-dmidecode"><span style="font-family: andale mono;">dmidecode</span></a>, il fournit une vue du système, comme des informations sur le processeur, la mémoire, les disques, les périphériques, les cartes réseau, etc.<br />
<br />
Cependant, <pre style="display:inline;">lshw</pre> présente souvent ces informations de manière plus structurée et plus lisible.<br />
<br />
<h2 class="formatter-title wiki-paragraph-2" id="paragraph-installation">Installation</h2><br />

<pre style="display:inline;">lshw</pre> n'est pas toujours installé par défaut. Si nécessaire, vous l'installerez<br />
<ul class="formatter-ul">
    <li class="formatter-li">soit via le Centre de Contrôle de Mageia
    </li><li class="formatter-li">soit en mode texte avec la commande <div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;">urpmi lshw</pre></pre></div></div></li></ul><br />
<br />
<h2 class="formatter-title wiki-paragraph-2" id="paragraph-utilisation-de-lshw">Utilisation de lshw</h2><br />

<pre style="display:inline;">lshw</pre> s'utilise en mode texte, donc dans un terminal, une console. Par exemple, Konsole, XTerm...<br />
<pre style="display:inline;">lshw</pre> ne fonctionne qu'avec des privilèges administrateur, c'est à dire en <em>root</em>.<br />
<br />
<h3 class="formatter-title wiki-paragraph-3" id="paragraph-afficher-des-informations-completes-sur-le-materiel">Afficher des informations complètes sur le matériel</h3><br />

<div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;">lshw</pre></pre></div></div><br />
La commande affiche une longue quantité d'informations sur votre matériel, organisées par sections. Exemple<span class="emoji-tag">&nbsp;</span>:<br />
<div class="formatter-container formatter-code code-TEXT"><span class="formatter-title">Code TEXT : </span><div class="formatter-content"><pre style="display:inline;"><pre class="text" style="font-family:monospace;">&nbsp;
[root@monordi ~]# lshw
monordi
    description: Ordinateur de Bureau
    produit: Z87-XD4 (To be filled by O.E.M.)
    fabriquant: Gigabyte Technology Co., Ltd.
    version: To be filled by O.E.M.
    numéro de série: To be filled by O.E.M.
    bits: 4294967295 bits
    fonctionnalités: smbios-2.7 dmi-2.7 smp vsyscall32
    configuration: administrator_password=enabled boot=normal chassis=desktop family=To be filled by O.E.M.
    uuid=ABCDEF12-1234-5678-1221-ABCDEF987654
  *-core
       description: Carte mère
   ...</pre></pre></div></div><br />
<h3 class="formatter-title wiki-paragraph-3" id="paragraph-afficher-les-informations-sous-forme-plus-compacte">Afficher les informations sous forme plus compacte</h3><br />

<div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;">lshw <span style="color: #660033;">-short</span></pre></pre></div></div><br />
<br />
Voici un exemple de la sortie de <pre style="display:inline;">lshw</pre> avec l'option <pre style="display:inline;">-short</pre> pour une vue simplifiée :<br />
<div class="formatter-container formatter-code code-TEXT"><span class="formatter-title">Code TEXT : </span><div class="formatter-content"><pre style="display:inline;"><pre class="text" style="font-family:monospace;"># lshw -short
H/W path        Device      Class       Description
==================================================
                            system      Motherboard
/0                          bus         Motherboard
/0/0                        processor   Intel Core i7-8565U
/0/4                        memory      16GiB SODIMM DDR4
/0/100/1f.3                 network     Wireless 9462/9560/9461/9565
/0/100/1f.6                 network     Ethernet RTL8111/8168/8411 PCI Express
/0/100/1f.4                 multimedia  Intel Corporation
/0/100/0a/0.0               disk        512GB SSD</pre></pre></div></div><br />
<br />
  Cette option fournit une vue condensée du matériel sous forme de tableau, plus facile à lire.<br />
<h3 class="formatter-title wiki-paragraph-3" id="paragraph-afficher-des-informations-d-un-type-de-materiel">Afficher des informations d'un type de matériel</h3><br />

Pour se concentrer sur un matériel particulier, on peut filtrer la sortie  de <pre style="display:inline;">lshw</pre> avec l'option <pre style="display:inline;">-C</pre>, <pre style="display:inline;">-c</pre> ou<pre style="display:inline;">&nbsp;-class</pre>.<br />
Quelques exemples.<br />
<h4 class="formatter-title wiki-paragraph-4" id="paragraph-processeur-cpu">Processeur (CPU) </h4><br />

<div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;">lshw <span style="color: #660033;">-c</span> cpu</pre></pre></div></div><br />
L'option <pre style="display:inline;">processor</pre> renvoie les mêmes informations.<br />
<h4 class="formatter-title wiki-paragraph-4" id="paragraph-memoire-ram">Mémoire (RAM)</h4><br />

<div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;">lshw <span style="color: #660033;">-c</span> memory</pre></pre></div></div><br />
<h4 class="formatter-title wiki-paragraph-4" id="paragraph-carte-graphique">Carte graphique</h4><br />

<div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;">lshw <span style="color: #660033;">-c</span> display</pre></pre></div></div><br />
<h4 class="formatter-title wiki-paragraph-4" id="paragraph-cartes-reseau">Cartes réseau</h4><br />

<div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;">lshw <span style="color: #660033;">-c</span> network</pre></pre></div></div><br />
<h4 class="formatter-title wiki-paragraph-4" id="paragraph-disques">Disques</h4><br />

<div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;">lshw <span style="color: #660033;">-c</span> disk</pre></pre></div></div><br />
<h3 class="formatter-title wiki-paragraph-3" id="paragraph-obtenir-des-informations-sur-le-systeme-en-entier">Obtenir des informations sur le système en entier</h3><br />

<div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;">lshw <span style="color: #660033;">-class</span> system</pre></pre></div></div><br />
<h3 class="formatter-title wiki-paragraph-3" id="paragraph-afficher-l-arborescence-complete-des-peripheriques">Afficher l'arborescence complète des périphériques</h3><br />

<div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;">lshw <span style="color: #660033;">-class</span> bus</pre></pre></div></div><br />
<br />
<h2 class="formatter-title wiki-paragraph-2" id="paragraph-sauvegarder-la-sortie-dans-un-fichier">Sauvegarder la sortie dans un fichier</h2><br />

Il est possible de conserver la sortie de <pre style="display:inline;">lshw</pre> pour une analyse ultérieure ; vous pouvez pour cela rediriger la sortie vers un fichier.<br />
Par exemple, pour sauvegarder en texte brut<span class="emoji-tag">&nbsp;</span>:<br />
<div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;">lshw <span style="color: #000000; font-weight: bold;">></span> hardware_monPC.txt</pre></pre></div></div><br />
D'autres formats sont possibles<span class="emoji-tag">&nbsp;</span>en ajoutant l'option adéquate à <pre style="display:inline;">lshw</pre> :<br />
<ul class="formatter-ul">
    <li class="formatter-li">en HTML avec<span class="emoji-tag">&nbsp;</span>: <pre style="display:inline;">lshw <span style="color: #660033;">-html</span> <span style="color: #000000; font-weight: bold;">></span> hardware_monPC.html</pre>
    </li><li class="formatter-li">en JSON avec<span class="emoji-tag">&nbsp;</span>: <pre style="display:inline;">lshw <span style="color: #660033;">-json</span> <span style="color: #000000; font-weight: bold;">></span> hardware_monPC.json</pre>
    </li><li class="formatter-li">en XML avec<span class="emoji-tag">&nbsp;</span>: <pre style="display:inline;">lshw <span style="color: #660033;">-xml</span> <span style="color: #000000; font-weight: bold;">></span> hardware_monPC.xml</pre><br />
</li></ul><br />
<h2 class="formatter-title wiki-paragraph-2" id="paragraph-association-avec-grep-pour-filtrer-davantage">Association avec grep pour filtrer davantage</h2><br />

Pour rechercher des informations spécifiques dans la sortie de <pre style="display:inline;">lshw</pre>, vous pouvez utiliser <pre style="display:inline;">grep</pre> pour filtrer les résultats.<br />
Par exemple, pour déterminer le processeur  :<br />
<div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;">lshw <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #660033;">-i</span> processor</pre></pre></div></div><br />
ou <div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;">lshw <span style="color: #660033;">-short</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #660033;">-i</span> processor</pre></pre></div></div><br />
<div class="formatter-container formatter-code code-TEXT"><span class="formatter-title">Code TEXT : </span><div class="formatter-content"><pre style="display:inline;"><pre class="text" style="font-family:monospace;"># lshw -short | grep -i processor
/0/17                             processor      Intel(R) Core(TM) i3-5005U CPU @ 2.00GHz</pre></pre></div></div><br />
ou sa fréquence<span class="emoji-tag">&nbsp;</span>:<br />
<div class="formatter-container formatter-code code-TEXT"><span class="formatter-title">Code TEXT : </span><div class="formatter-content"><pre style="display:inline;"><pre class="text" style="font-family:monospace;">lshw -c processor | grep -i taille
       taille: 1895MHz</pre></pre></div></div>Eh, oui ! Une mauvaise traduction ?<br />
<br />
Déterminer les caches du processeur :<br />
<div class="formatter-container formatter-code code-TEXT"><span class="formatter-title">Code TEXT : </span><div class="formatter-content"><pre style="display:inline;"><pre class="text" style="font-family:monospace;"> lshw -short | grep "L* cache"
/0/13                             memory         32KiB L1 cache
/0/14                             memory         32KiB L1 cache
/0/15                             memory         256KiB L2 cache
/0/16                             memory         3MiB L3 cache</pre></pre></div></div><br />
<br />
<h2 class="formatter-title wiki-paragraph-2" id="paragraph-interface-graphique">Interface graphique</h2><br />

<div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;">lshw <span style="color: #660033;">-X</span></pre></pre></div></div><br />
est sensée démarrer l'interface graphique de lshw, disponible pour Mageia 9 dans le paquetage lshw-gui-2.18-4.mga9. Mais celle-ci ne semble pas complétement fonctionnelle.<br />
<h2 class="formatter-title wiki-paragraph-2" id="paragraph-documentation">Documentation</h2><br />

En console aussi <div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">man</span> lshw</pre></pre></div></div><br />
<br />
<h2 class="formatter-title wiki-paragraph-2" id="paragraph-sitographie">Sitographie</h2><br />

<ul class="formatter-ul">
    <li class="formatter-li"><a class="offload" href="https://www.malekal.com/la-commande-lshw-utilisations-et-exemples/">lshw chez Malekal</a>
    </li><li class="formatter-li"><a class="offload" href="https://www.n0tes.fr/2018/02/03/Commandes-Hardware-Linux/">Listes de commandes hardware</a>, un paragraphe. Site très riche par ailleurs
    </li><li class="formatter-li"><a class="offload" href="https://telazul.drusian.com.br/en/article/checking-machine-hardware-information-in-the-linux-terminal-with-lshw">Une liste d'exemples</a>, en anglais.
    </li><li class="formatter-li">Idem : <a class="offload" href="https://www.binarytides.com/linux-lshw-command/">lshw command examples to get hardware information on Linux</a><br />
</li></ul>]]></description>
                <pubDate>Tue, 03 Feb 2026 23:44:50 +0100</pubDate>
                
            </item>
		
            <item>
                <title><![CDATA[Utiliser dmidecode]]></title>
                <link>https://www.mageialinux-online.org/wiki/utiliser-dmidecode</link>
                <guid>https://www.mageialinux-online.org/wiki/utiliser-dmidecode</guid>
                <description><![CDATA[<h2 class="formatter-title wiki-paragraph-2" id="paragraph-introduction">Introduction</h2><br />

<pre style="display:inline;">dmidecode</pre> est un utilitaire qui permet d'obtenir des informations détaillées sur le matériel de votre machine, en interrogeant le BIOS (Basic Input/Output System) ou UEFI (Unified Extensible Firmware Interface). Ces informations peuvent inclure des détails sur le processeur, la mémoire, les disques, le système, etc.<br />
<br />
Il ne faut pas perdre de vue que <pre style="display:inline;">dmidecode</pre> n'interroge pas le matériel, mais le BIOS, et retourne ce que le <strong>BIOS dit du matériel</strong>.<br />
<br />
Son nom fait référence au standard <a class="offload" href="https://en.wikipedia.org/wiki/Desktop_Management_Interface">Desktop Management Interface</a> (DMI) qui permet de suivre, d&#8217;identifier, les composants des ordinateurs.<br />
<br />
<h2 class="formatter-title wiki-paragraph-2" id="paragraph-installation">Installation</h2><br />

En général, <pre style="display:inline;">dmidecode</pre> est installé par défaut.<br />
Si ce n'est pas le cas, vous l'installerez<br />
<ul class="formatter-ul">
    <li class="formatter-li">soit via le Centre de Contrôle de Mageia
    </li><li class="formatter-li">soit en mode texte avec la commande <div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;">urpmi dmidecode</pre></pre></div></div></li></ul><br />
<br />
<h2 class="formatter-title wiki-paragraph-2" id="paragraph-exemples-des-donnees-retournees">Exemples des données retournées</h2><br />

Les informations retournées par <pre style="display:inline;">dmidecode</pre> sont plutôt touffues et peuvent sembler techniques. Quelques exemples de ce qu'on peut trouver.<br />
<br />
<h3 class="formatter-title wiki-paragraph-3" id="paragraph-bios">BIOS</h3><br />

<ul class="formatter-ul">
    <li class="formatter-li"> Fabriquant
    </li><li class="formatter-li"> Version du BIOS
    </li><li class="formatter-li"> Date du BIOS<br />
</li></ul><br />
<h3 class="formatter-title wiki-paragraph-3" id="paragraph-processeur-cpu">Processeur (CPU)</h3><br />

<ul class="formatter-ul">
    <li class="formatter-li"> Nom du processeur
    </li><li class="formatter-li"> Nombre de c&#339;urs et de threads
    </li><li class="formatter-li"> Fréquence du processeur
    </li><li class="formatter-li"> Cache L1, L2, L3<br />
</li></ul><br />
<h3 class="formatter-title wiki-paragraph-3" id="paragraph-memoire-ram">Mémoire (RAM)</h3><br />

<ul class="formatter-ul">
    <li class="formatter-li"> Taille de chaque module de mémoire
    </li><li class="formatter-li"> Type de mémoire (DDR3, DDR4, etc.)
    </li><li class="formatter-li"> Vitesse de la mémoire
    </li><li class="formatter-li"> Statut du module (installé, disponible, etc.)<br />
</li></ul><br />
<h3 class="formatter-title wiki-paragraph-3" id="paragraph-carte-mere-baseboard">Carte mère (Baseboard)</h3><br />

<ul class="formatter-ul">
    <li class="formatter-li"> Modèle de la carte mère
    </li><li class="formatter-li"> Fabricant
    </li><li class="formatter-li"> Version du firmware<br />
</li></ul><br />
<br />
<h2 class="formatter-title wiki-paragraph-2" id="paragraph-utiliser-dmidecode">Utiliser dmidecode</h2><br />

<pre style="display:inline;">dmidecode</pre> s'utilise en mode texte, donc dans un terminal, une console. Par exemple, Konsole, XTerm...<br />
<br />
Notez que l'outil nécessite des privilèges administrateur, donc vous devez l'exécuter en tant que <em>root</em> ou éventuellement en utilisant <pre style="display:inline;">sudo</pre>.<br />
Saisissez la commande :<br />
<div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;">dmidecode</pre></pre></div></div><br />
Cela va afficher une longue quantité d'informations sur votre matériel, organisées par sections.<br />
Peu pratique.<br />
<br />
<h2 class="formatter-title wiki-paragraph-2" id="paragraph-filtrer-les-informations">Filtrer les informations</h2><br />

Si vous ne voulez que certaines informations particulières, vous pouvez utiliser <pre style="display:inline;">dmidecode</pre> avec des options adéquates pour filtrer les résultats.<br />
<br />
<h3 class="formatter-title wiki-paragraph-3" id="paragraph-afficher-des-informations-sur-la-version-du-bios">Afficher des informations sur la version du BIOS</h3><br />

  <div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;">dmidecode <span style="color: #660033;">-t</span> bios</pre></pre></div></div><br />
Option qui peut s'écrire <pre style="display:inline;">-t</pre> ou <pre style="display:inline;">--type</pre>.<br />
<h3 class="formatter-title wiki-paragraph-3" id="paragraph-afficher-des-informations-sur-le-processeur-cpu">Afficher des informations sur le processeur (CPU)</h3><br />

  <div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;">dmidecode <span style="color: #660033;">-t</span> processor</pre></pre></div></div><br />
<br />
<h3 class="formatter-title wiki-paragraph-3" id="paragraph-afficher-des-informations-sur-la-memoire-ram">Afficher des informations sur la mémoire (RAM)</h3><br />

  <div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;">dmidecode <span style="color: #660033;">-t</span> memory</pre></pre></div></div><br />
<br />
<h3 class="formatter-title wiki-paragraph-3" id="paragraph-afficher-des-informations-sur-la-carte-mere">Afficher des informations sur la carte mère</h3><br />

  <div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;">dmidecode <span style="color: #660033;">-t</span> baseboard</pre></pre></div></div><br />
<br />
<h3 class="formatter-title wiki-paragraph-3" id="paragraph-afficher-des-informations-sur-les-slots-d-expansion-pci-etc">Afficher des informations sur les slots d'expansion (PCI, etc.)</h3><br />

  <div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;">dmidecode <span style="color: #660033;">-t</span> slot</pre></pre></div></div><br />
<br />
Il y a d'autres filtrages possibles avec l'option <pre style="display:inline;">-t</pre>. La commande <pre style="display:inline;">dmidecode <span style="color: #660033;">-t</span></pre>, sans argument, liste les mot clés admis.<br />
<br />
<h2 class="formatter-title wiki-paragraph-2" id="paragraph-informations-sur-un-element-specifique-a-partir-de-son-identifiant">Informations sur un élément spécifique à partir de son identifiant</h2><br />

Si vous souhaitez obtenir des informations sur un certain type d'élément en particulier, vous pouvez également spécifier son identifiant.<br />
Par exemple, pour voir les détails sur la mémoire installée<span class="emoji-tag">&nbsp;</span>:<br />
<div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;">dmidecode <span style="color: #660033;">-t</span> <span style="color: #000000;">17</span></pre></pre></div></div><br />
<br />
Ici, <pre style="display:inline;">17</pre> représente le type <em>Memory Device</em>" (périphérique mémoire) dans la DMI (Desktop Management Interface).<br />
<br />
De même, <pre style="display:inline;">13</pre> est le type de <em>BIOS Language</em>.<br />
<br />
Les types, qui sont au nombre de 42, permettent plus de finesse sur la recherche.<br />
Et pour <em>Cooling Device</em>, refroidissement, c'est<br />
<div class="formatter-container formatter-code code-TEXT"><span class="formatter-title">Code TEXT : </span><div class="formatter-content"><pre style="display:inline;"><pre class="text" style="font-family:monospace;"># dmidecode --type 27
# dmidecode 3.5
Getting SMBIOS data from sysfs.
SMBIOS 2.7 present.
Handle 0x0032, DMI type 27, 15 bytes
Cooling Device
        Temperature Probe Handle: 0x002F
        Type: <OUT OF SPEC>
        Status: <OUT OF SPEC>
        Cooling Unit Group: 1
        OEM-specific Information: 0x00000000
        Nominal Speed: Unknown Or Non-rotating
        Description: Cooling Dev 1
....
&nbsp;</pre></pre></div></div><br />
Pour la longue liste des <a class="offload" href="https://www.n0tes.fr/2022/12/10/Commande-dmidecode/">types, c'est ici</a>.<br />
Mais aussi dans le page de man de <pre style="display:inline;">dmidecode</pre>. En console <div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">man</span> dmidecode</pre></pre></div></div><br />
<br />
<h2 class="formatter-title wiki-paragraph-2" id="paragraph-filtrer-plus-precisement">Filtrer plus précisément</h2><br />

<h3 class="formatter-title wiki-paragraph-3" id="paragraph-l-option-s-ou-string">L'option -s ou --string</h3><br />

Si vous êtes à la recherche d'un élément précis, c'est possible avec l'option -s ou --string.<br />
Déterminer la version du BIOS :<br />
<div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;">dmidecode <span style="color: #660033;">-s</span> bios-version</pre></pre></div></div><br />
ou bien, l'affichage pour la fréquence du processeur, exemple<span class="emoji-tag">&nbsp;</span>:<br />
<div class="formatter-container formatter-code code-TEXT"><span class="formatter-title">Code TEXT : </span><div class="formatter-content"><pre style="display:inline;"><pre class="text" style="font-family:monospace;"># dmidecode -s processor-frequency
3600 MHz</pre></pre></div></div><br />
Pour être efficace, il est nécessaire de connaître les mots clés admis. La liste de ceux-ci s'affiche en retour de la commande ci-dessus sans argument, c.a.d :<br />
<div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;">dmidecode <span style="color: #660033;">-s</span></pre></pre></div></div><br />
<h3 class="formatter-title wiki-paragraph-3" id="paragraph-association-avec-grep">Association avec grep </h3><br />

 Pour un même résulat, la version du bios, vous pouvez également combiner <pre style="display:inline;">dmidecode</pre> avec <pre style="display:inline;">grep</pre> pour filtrer les résultats.<br />
<br />
Exemple, pour trouver la version du BIOS :<br />
<div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;">dmidecode <span style="color: #660033;">-t</span> bios <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #660033;">-i</span> version</pre></pre></div></div><br />
Et le résultat pour la fréquence :<br />
<div class="formatter-container formatter-code code-TEXT"><span class="formatter-title">Code TEXT : </span><div class="formatter-content"><pre style="display:inline;"><pre class="text" style="font-family:monospace;"># dmidecode -t processor | grep -i speed
Max Speed: 7000 MHz
Current Speed: 3600 MHz</pre></pre></div></div><br />
<br />
<h2 class="formatter-title wiki-paragraph-2" id="paragraph-sauvegarder-la-sortie-dans-un-fichier">Sauvegarder la sortie dans un fichier</h2><br />

Vous pouvez également sauvegarder la sortie de <pre style="display:inline;">dmidecode</pre> dans un fichier pour une consultation ultérieure.<br />
Les mots clés sont aussi listés dans la page de man.<br />
<div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;"> dmidecode <span style="color: #000000; font-weight: bold;">></span> infos_systeme.txt</pre></pre></div></div><br />
Cela va enregistrer toute la sortie dans le fichier <pre style="display:inline;">infos_systeme.txt</pre>.<br />
<br />
<h2 class="formatter-title wiki-paragraph-2" id="paragraph-documentation">Documentation</h2><br />

En console aussi <div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">man</span> dmidecode</pre></pre></div></div><br />
<br />
<h2 class="formatter-title wiki-paragraph-2" id="paragraph-sitographie">Sitographie</h2><br />

<ul class="formatter-ul">
    <li class="formatter-li"><a class="offload" href="https://www.it-connect.fr/dmidecode-le-referentiel-du-bios-et-du-materiel-sous-linux/">Des compléments par it-connect</a>
    </li><li class="formatter-li"><a class="offload" href="https://www.linuxtechi.com/dmidecode-command-examples-linux/">Useful dmidecode Command </a>Examples for Linux Admin. Très complet, mais en anglais.
    </li><li class="formatter-li"><a class="offload" href="https://www.n0tes.fr/2022/12/10/Commande-dmidecode/">DMIdecode sur Notes.fr</a>. Liste tous les types.
    </li><li class="formatter-li"><a class="offload" href="https://en.wikipedia.org/wiki/Dmidecode">Petit article de Wikipedia</a><br />
</li></ul><br />
<br />
<br />]]></description>
                <pubDate>Mon, 02 Feb 2026 20:24:05 +0100</pubDate>
                
            </item>
		
            <item>
                <title><![CDATA[Analyser le démarrage avec systemd-analyze]]></title>
                <link>https://www.mageialinux-online.org/wiki/analyser-le-demarrage-avec-systemd-analyze</link>
                <guid>https://www.mageialinux-online.org/wiki/analyser-le-demarrage-avec-systemd-analyze</guid>
                <description><![CDATA[<h2 class="formatter-title wiki-paragraph-2" id="paragraph-introduction">Introduction</h2><br />

La commande <pre style="display:inline;">systemd-analyze</pre> permet d'analyser le dernier démarrage de Mageia, et plus généralement de linux.<br />
Tout ceci est en mode texte. Les commandes sont à saisir en console.<br />
<br />
<h2 class="formatter-title wiki-paragraph-2" id="paragraph-installation">Installation</h2><br />

<pre style="display:inline;">systemd-analyze</pre> est une partie de <pre style="display:inline;">systemd</pre> qui est installé par défaut, donc rien à faire.<br />
<br />
<h2 class="formatter-title wiki-paragraph-2" id="paragraph-quelques-applications-de-systemd-analyze">Quelques applications de systemd-analyze</h2><br />

<h3 class="formatter-title wiki-paragraph-3" id="paragraph-afficher-la-duree-du-demarrage">Afficher la durée du démarrage</h3><br />

À la commande <pre style="display:inline;">systemd-analyze</pre> on ajoute le paramètre <pre style="display:inline;">time</pre>, <pre style="display:inline;">systemd-analyze <span style="color: #000000; font-weight: bold;">time</span></pre>. Exemple<span class="emoji-tag">&nbsp;</span>:<br />
<div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;">$ systemd-analyze <span style="color: #000000; font-weight: bold;">time</span>
Startup finished <span style="color: #000000; font-weight: bold;">in</span> 2.467s <span style="color: #7a0874; font-weight: bold;">&#40;</span>kernel<span style="color: #7a0874; font-weight: bold;">&#41;</span> + 15.960s <span style="color: #7a0874; font-weight: bold;">&#40;</span>userspace<span style="color: #7a0874; font-weight: bold;">&#41;</span> = 18.428s 
graphical.target reached after 15.631s <span style="color: #000000; font-weight: bold;">in</span> userspace.</pre></pre></div></div><br />
Donc durée totale du démarrage : 18.428 secondes.<br />
<br />
<h3 class="formatter-title wiki-paragraph-3" id="paragraph-duree-de-demarrage-de-chaque-service">Durée de démarrage de chaque service</h3><br />

Avec <div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;">systemd-analyze blame</pre></pre></div></div><br />
Exemple<span class="emoji-tag">&nbsp;</span>:<br />
<p style="text-align: center;"><img src="https://www.mageialinux-online.org/upload/systemd-analyse-blame-screenshot_20260117.png" alt="systemd-analyse blame" style="width: 260px" /></p><br />
<br />
<h3 class="formatter-title wiki-paragraph-3" id="paragraph-afficher-les-temps-de-demarrage-sous-forme-d-arbre">Afficher les temps de démarrage sous forme d'arbre</h3><br />

La commande <div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;">systemd-analyze critical-chain</pre></pre></div></div> affiche le démarrage sous forme d'arbre.<br />
<br />
L'instant où le service, l'unité, est actif ou démarré est affiché après le caractère <span class="emoji-tag">&laquo;</span> @ <span class="emoji-tag">&raquo;</span>. La durée nécessaire à l'unité pour démarrer est affichée après le caractère <span class="emoji-tag">&laquo;</span> + <span class="emoji-tag">&raquo;</span>.<br />
<p style="text-align: center;"><img src="https://www.mageialinux-online.org/upload/systemd-analyze_critical-chain-screenshot_20260117.png" alt="systemd-analyse critical-chain" style="width: 400px" /></p><br />
<br />
<h3 class="formatter-title wiki-paragraph-3" id="paragraph-les-durees-du-boot-en-graphique">Les durées du boot en graphique</h3><br />

Le graphique obtenu est un format SVG, lisible par LibreOffice ou un navigateur. Exemple :<br />
<div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;">systemd-analyze plot <span style="color: #000000; font-weight: bold;">></span> ~<span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>graphique-du-boot.svg</pre></pre></div></div><br />
Le graphique obtenu sera d'après cette commande dans le <pre style="display:inline;">$HOME/tmp</pre>.<br />
Exemple issu du forum :<br />
<p style="text-align: center;"><a class="offload" href="https://www.mageialinux-online.org/upload/boot-marco-2026-01-27.svg"><img src="https://www.mageialinux-online.org/upload/boot-marco-2026-01-27.svg" alt="systemd-analyse plot" style="width: 400px" /></a></p><br />
<br />
<h2 class="formatter-title wiki-paragraph-2" id="paragraph-documentation">Documentation</h2><br />

La page de man, en console :<br />
<div class="formatter-container formatter-code code-TEXT"><span class="formatter-title">Code TEXT : </span><div class="formatter-content"><pre style="display:inline;"><pre class="text" style="font-family:monospace;">man systemd-analyze</pre></pre></div></div><br />
<h2 class="formatter-title wiki-paragraph-2" id="paragraph-sitographie">Sitographie</h2><br />

Ceci n'est qu'une introduction. <pre style="display:inline;">systemd-analyze</pre> a beaucoup d'autres fonctionnalités. Des compléments ci-dessous :<br />
<ul class="formatter-ul">
    <li class="formatter-li"><a class="offload" href="https://www.malekal.com/linux-mesurer-le-temps-de-demarrage/">La page de Malekal</a> sur le sujet
    </li><li class="formatter-li"><a class="offload" href="https://documentation.suse.com/fr-fr/sle-micro/6.0/html/Micro-systemd-basics/index.html">La documentation de Suse</a>
    </li><li class="formatter-li">Riche <a class="offload" href="https://manpages.ubuntu.com/manpages/noble/fr/man1/systemd-analyze.1.html">man page Ubuntu</a>.
    </li><li class="formatter-li">La <a class="offload" href="https://man7.org/linux/man-pages/man1/systemd-analyze.1.html">page de man</a>, de manuel, de <pre style="display:inline;">systemd-analyze</pre>, en anglais.<br />
</li></ul><br />]]></description>
                <pubDate>Thu, 29 Jan 2026 13:28:21 +0100</pubDate>
                
            </item>
		
            <item>
                <title><![CDATA[Utiliser inxi]]></title>
                <link>https://www.mageialinux-online.org/wiki/utiliser-inxi</link>
                <guid>https://www.mageialinux-online.org/wiki/utiliser-inxi</guid>
                <description><![CDATA[<br />
<h2 class="formatter-title wiki-paragraph-2" id="paragraph-introduction">Introduction</h2><br />

Inxi est un outil en ligne de commande très utile sous Linux pour obtenir des informations détaillées sur le système. Voici quelques-unes de ses principales fonctionnalités :<br />
<ul class="formatter-ul">
    <li class="formatter-li">Afficher des informations sur le matériel (CPU, mémoire, carte graphique, disques, etc.)
    </li><li class="formatter-li">Obtenir des détails sur la configuration réseau (interfaces, adresses IP, WiFi, etc.)
    </li><li class="formatter-li">Récupérer des informations sur le noyau Linux, les pilotes et les modules chargés
    </li><li class="formatter-li">Afficher l'utilisation des ressources système (CPU, mémoire, disque, réseau)
    </li><li class="formatter-li">Générer un rapport complet sur le système avec toutes ces informations<br />
</li></ul><br />
<br />
Inxi est très apprécié des utilisateurs Linux car il permet d'avoir un état détaillé du système en une seule commande, ce qui facilite grandement le dépannage et la résolution de problèmes. C'est un outil très puissant et flexible qui peut s'avérer très utile au quotidien pour les administrateurs système Linux.<br />
<br />
<h2 class="formatter-title wiki-paragraph-2" id="paragraph-installation">Installation</h2><br />

Sur Mageia, inxi est installé par défaut. Si ce n'est pas le cas faîtes l'installation en console par <pre style="display:inline;">urpmi inxi </pre>ou bien via le menu des application, <em>Installer des logiciels</em>.<br />
 Sur les autres distributions Linux, vous pouvez l'installer avec votre gestionnaire de paquets préféré (apt, dnf, pacman, etc.).<br />
<h2 class="formatter-title wiki-paragraph-2" id="paragraph-utilisation">Utilisation</h2><br />

<h3 class="formatter-title wiki-paragraph-3" id="paragraph-premiere-approche">Première approche</h3><br />

Une fois installé, ouvrez un terminal (Konsole, Xterm, xfce4-terminal, gnome-terminal, ect.) et tapez la commande <pre style="display:inline;">inxi</pre> :<br />
<div id="" class="" style="font-family:Andale mono;color:white;background-color:black;margin:1em;padding: 3px;"><span style="color:#00FF00;">[user@monordi ~]$</span> inxi<br />
<span style="color:#3dade7;">CPU:</span> quad core Intel Core i5-4570 (-MCP-) <span style="color:#3dade7;">speed/min/max:</span> 798/800/3600 MHz<br />
<span style="color:#3dade7;">Kernel:</span> 6.6.58-desktop-2.mga9 x86_64 Up: 1h 53m <span style="color:#3dade7;">Mem:</span> 3.25/7.57 GiB (42.9%)[/color]<br />
<span style="color:#3dade7;">Storage:</span> 1.82 TiB (49.9% used) <span style="color:#3dade7;">Procs:</span> 265 <span style="color:#3dade7;">Shell:</span> Bash <span style="color:#3dade7;">inxi:</span> 3.3.36</div><br />
Vous voyez ci-dessus ce que la commande <pre style="display:inline;">inxi</pre> affiche sans aucune option. Un résumé du système avec<br />
<ul class="formatter-ul">
        <li class="formatter-li">les informations du processeur (c&#339;urs, type et fréquences),
        </li><li class="formatter-li">le noyau Linux,
        </li><li class="formatter-li">l'uptime,
        </li><li class="formatter-li">l'état de la mémoire,
        </li><li class="formatter-li"> le volume de stockage,
    </li><li class="formatter-li">le nombre de processus chargés,
    </li><li class="formatter-li">le type de Shell, Bash dans le cas ci-dessus,
    </li><li class="formatter-li">et la version inxi.<br />
</li></ul><br />
<br />
<h3 class="formatter-title wiki-paragraph-3" id="paragraph-avec-des-options">Avec des options</h3><br />

<h4 class="formatter-title wiki-paragraph-4" id="paragraph-l-option-f">L'option -F</h4><br />

C'est l'option, -F, qui permet d'obtenir toutes les informations qu'<pre style="display:inline;">inxi</pre> est capable de  renvoyer.<br />
<div id="" class="" style="font-family:Andale mono;color:white;background-color:black;margin:1em;padding: 3px;"><span style="color:#00FF00;">[user@monordi ~]$</span>inxi -F</div><br />
<br />
<h4 class="formatter-title wiki-paragraph-4" id="paragraph-l-option-b">L'option -b</h4><br />

La commande <pre style="display:inline;">inxi <span style="color: #660033;">-b</span></pre> affiche un condensé des informations relatives à la version du noyau (kernel) et à la version des pilotes du système d'exploitation.<br />
<br />
Voici ce qui est généralement affiché par la commande <pre style="display:inline;">inxi <span style="color: #660033;">-b</span></pre> :<br />
<ul class="formatter-ul">
<li class="formatter-li"> Version du noyau (kernel) : Le noyau utilisé par le système, par exemple, 5.4.0-74-generic.
</li><li class="formatter-li"> Caractéristique matérielles du PC
</li><li class="formatter-li">  Caractéristique de processeur
</li><li class="formatter-li"> Version des pilotes graphiques : Si applicable, les informations sur le système graphique, comme les pilotes Nvidia, AMD ou Intel.
</li><li class="formatter-li"> Statut de la batterie : Si votre système dispose d'une batterie (comme un ordinateur portable), des informations telles que l'état de charge de la batterie, sa capacité, le temps restant avant décharge, etc., seront affichées. Si la batterie n'est pas présente ou non applicable, cette partie sera absente ou affichera un message approprié.
</li><li class="formatter-li">  Réseau
</li><li class="formatter-li"> Périphériques de stockage<br />
</li></ul><br />
Par exemple :<br />
<div id="" class="" style="font-family:Andale mono;color:white;background-color:black;margin:1em;padding: 3px;"><span style="color:#00FF00;">[user@monordi ~]$</span> inxi -b<br />
System:<br />
    <span class="emoji-tag">&emsp;</span>Host:portable Kernel: 6.6.58-desktop-2.mga9 arch: x86_64 bits: 64<br />
  <span class="emoji-tag">&emsp;</span>Desktop: KDE Plasma v: 5.27.10 Distro: Mageia 9<br />
Machine:<br />
  <span class="emoji-tag">&emsp;</span>Type: Laptop  System: Notebook  product: 15-ac138ds  v: N/A<br />
    <span class="emoji-tag">&emsp;</span>serial: <superuser required><br />
  <span class="emoji-tag">&emsp;</span>Mobo: Notebook  model: 15-ac138ds serial: <superuser required><br />
    <span class="emoji-tag">&emsp;</span>UEFI-[Legacy]:  Insyde F.29  v: 5.6.5  date: 10/3/2013<br />
Battery:<br />
  <span class="emoji-tag">&emsp;</span>ID-1: BAT0 charge: 47 Wh (72.0%) condition: 47/62 Wh (76.4%)<br />
CPU:<br />
  <span class="emoji-tag">&emsp;</span>Info: dual core Intel  Celeron<span class="emoji-tag">&reg;</span> N3050 speed (MHz): avg: 1982<br />
    <span class="emoji-tag">&emsp;</span>min/max:1600/2160<br />
Graphics:<br />
  <span class="emoji-tag">&emsp;</span>Device-1: Intel HD Graphics 5400 driver: i915 v: kernel<br />
  <span class="emoji-tag">&emsp;</span>Device-2: TrueVision HD driver: uvcvideo type: USB<br />
  <span class="emoji-tag">&emsp;</span>Display: x11 server: X.org v: 1.21.1.8 with: Xwayland v: 22.1.9 driver: X:<br />
    <span class="emoji-tag">&emsp;</span>loaded: intel,v4l dri: i965 gpu: i915 resolution: 1366x768~60Hz<br />
  <span class="emoji-tag">&emsp;</span>API: OpenGL v: 4.6 vendor: intel mesa v: 24.2.5 renderer: Mesa Intel HD<br />
    <span class="emoji-tag">&emsp;</span>Graphics 5400 (BDW GT2)<br />
Network:<br />
  <span class="emoji-tag">&emsp;</span>Device-1: Intel Wireless 7260 driver: iwlwifi<br />
  <span class="emoji-tag">&emsp;</span>Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet<br />
    <span class="emoji-tag">&emsp;</span>driver: r8169<br />
Drives:<br />
  <span class="emoji-tag">&emsp;</span>Local Storage: total: 232.89 GiB used: 101.05 GiB (43.4%)<br />
Info:<br />
  <span class="emoji-tag">&emsp;</span>Memory: total: 4 GiB available: 2.37 GiB used: 1.63 GiB (40.8%)<br />
  <span class="emoji-tag">&emsp;</span>Processes: 229 Uptime: 1m Shell: Bash inxi: 3.3.36</div><br />
<h4 class="formatter-title wiki-paragraph-4" id="paragraph-l-option-c-le-processeur">L'option -C : le processeur</h4><br />

Cela affichera les informations détaillées sur le processeur (CPU) de votre système, notamment :<br />
<ul class="formatter-ul">
        <li class="formatter-li">Le modèle et la ou les fréquence des c&#339;urs du CPU,
        </li><li class="formatter-li">Le nombre de c&#339;urs,
        </li><li class="formatter-li">Le cache,
        </li><li class="formatter-li">La technologie (32 bits, 64 bits, etc.),
        </li><li class="formatter-li">Les flags du CPU.<br />
</li></ul><br />
Par exemple :<br />
<div id="" class="" style="font-family:Andale mono;color:white;background-color:black;margin:1em;padding: 3px;"><span style="color:#00FF00;">[user@monordi ~]$</span> inxi -C<br />
<span style="color:#3dade7;">CPU: </span><br />
     <span class="emoji-tag">&emsp;</span><span style="color:#3dade7;">Topology:</span> Dual Core <span style="color:#3dade7;">model: </span>Intel Core i5-8250U <span style="color:#3dade7;">bits:</span> 64 <span style="color:#3dade7;">type:</span> MT MCP<br />
        <span class="emoji-tag">&emsp;</span><span style="color:#3dade7;">L2 cache:</span> 512 KiB<br />
<span class="emoji-tag">&emsp;</span><span style="color:#3dade7;">Speed:</span> 2200 MHz min/max: 400/3400 MHz <span style="color:#3dade7;">Core speeds (MHz):[color=#3dade7]1: 2200 2: 2500 3: 2100 4: 2300 5: 2400 6: 2200 7: 2400 8: 2200 </div><br />
<br />
La commande <pre style="display:inline;">inxi <span style="color: #660033;">-Cx</span></pre> ou <pre style="display:inline;">inxi <span style="color: #660033;">-Cxx</span></pre> renvoie encore plus d'informations, comme les flags.</span><br />
<br />
<span class="message-helper bgc notice">D'une manière générale l'ajout de <pre style="display:inline;">x</pre> ou de <pre style="display:inline;">xx</pre> à une option permet l'affichage de davantage d'informations.</span><br />
<br />
<h4 class="formatter-title wiki-paragraph-4" id="paragraph-l-option-m-la-memoire">L'option -m : la mémoire</h4><br />

La commande inxi -m dans un terminal Linux affiche des informations détaillées sur la mémoire (RAM) de votre système, y compris la mémoire physique installée, l'utilisation actuelle et d'autres statistiques liées à la mémoire.<br />
<ul class="formatter-ul">
    <li class="formatter-li">Affiche la quantité totale de mémoire RAM installée sur le système
    </li><li class="formatter-li">Montre la quantité de mémoire actuellement utilisée par le système
    </li><li class="formatter-li">Le pourcentage de mémoire utilisée
    </li><li class="formatter-li">Affiche la configuration de la mémoire installée dans les différents slots.
    </li><li class="formatter-li">La vitesse et le type de mémoire (DDR4, DDR3, etc.) ainsi que la capacité par slot sont également mentionnés.
        </li><li class="formatter-li">Si votre mémoire est équipée ou non de la fonctionnalité ECC.<br />
</li></ul><br />
<div id="" class="" style="font-family:Andale mono;color:white;background-color:black;margin:1em;padding: 3px;"><span style="color:#00FF00;">[user@monordi ~]$</span> inxi -m<br />
<span style="color:#3dade7;">Memory:</span><br />
<span class="emoji-tag">&emsp;</span><span style="color:#3dade7;">System RAM:</span>  <span style="color:#3dade7;">total:</span>  8 GiB <span style="color:#3dade7;">available:</span>  7.57 GiB <span style="color:#3dade7;">used:</span>  3.92 GiB (51.8%)<br />
  <span class="emoji-tag">&emsp;</span><span style="color:#3dade7;">Array-1:</span>  capacity:[/color]  32 GiB <span style="color:#3dade7;">slots:</span>  4 <span style="color:#3dade7;">modules:</span>  2 <span style="color:#3dade7;">EC:</span>  None<br />
  <span class="emoji-tag">&emsp;</span><span style="color:#3dade7;">Device-1:</span>  ChannelA-DIMM0 <span style="color:#3dade7;">type:</span>  no module installed<br />
  <span class="emoji-tag">&emsp;</span><span style="color:#3dade7;">Device-2:</span>  ChannelA-DIMM1 <span style="color:#3dade7;">type:</span>  DDR3 <span style="color:#3dade7;">size:</span>  4 GiB <span style="color:#3dade7;">speed:</span>  1600 MT/s<br />
  <span class="emoji-tag">&emsp;</span><span style="color:#3dade7;">Device-3:</span>  ChannelB-DIMM0 <span style="color:#3dade7;">type:</span>  no module installed<br />
 <span class="emoji-tag">&emsp;</span><span style="color:#3dade7;">Device-4:</span>  ChannelB-DIMM1 <span style="color:#3dade7;">type:</span>  DDR3 <span style="color:#3dade7;">size:</span>  4 GiB <span style="color:#3dade7;">speed:</span>  1600 MT/s</div><br />
<br />
Vous obtiendrez encore davantage d'informations (tension, voltage, ect.) avec  les commandes <pre style="display:inline;">inxi <span style="color: #660033;">-mx</span></pre> et <pre style="display:inline;">inxi <span style="color: #660033;">-mxx</span></pre>.<br />
<br />
<h4 class="formatter-title wiki-paragraph-4" id="paragraph-l-option-n-le-reseau">L'option -N : le réseau</h4><br />

La commande <pre style="display:inline;">inxi <span style="color: #660033;">-N</span></pre>fournit des informations détaillées sur les périphériques réseau de votre système. Cela inclut les cartes réseau (Ethernet, Wi-Fi, etc.), leur état, et leurs paramètres.<br />
<div id="" class="" style="font-family:Andale mono;color:white;background-color:black;margin:1em;padding: 3px;"><span style="color:#00FF00;">[user@monordi ~]$</span> inxi -N<br />
Network:   Device-1: Intel Wireless 3165 driver: iwlwifi<br />
           <span class="emoji-tag">&emsp;</span>Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169<br />
           <span class="emoji-tag">&emsp;</span>IF: wlan0 state: up mac: 00:1a:2b:3c:4d:5e<br />
           <span class="emoji-tag">&emsp;</span>IF: eth0 state: up speed: 1000 Mbps duplex: full mac: e5:d4:c2:b1:a0:00</div><br />
<h4 class="formatter-title wiki-paragraph-4" id="paragraph-l-option-n-le-reseau-encore">L'option -n, le réseau encore</h4><br />

La commande <pre style="display:inline;">inxi -n </pre>sur Linux affiche des informations détaillées sur la configuration réseau de votre système, principalement la connectivité réseau et les interfaces réseau actives. Cette commande fournit des détails sur les interfaces réseau, les connexions actives, et parfois les serveurs DNS. Par exemple :<br />
<div id="" class="" style="font-family:Andale mono;color:white;background-color:black;margin:1em;padding: 3px;"><span style="color:#00FF00;">[user@monordi ~]$</span> inxi -n<br />
Network:<br />
  <span class="emoji-tag">&emsp;</span>Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169<br />
 <span class="emoji-tag">&emsp;</span>IF: eth0 state: up speed: 1000 Mbps duplex: full mac: a0:b1:c2:d3:e4:f0<br />
  <span class="emoji-tag">&emsp;</span>IP: 192.168.1.100/24<br />
 <span class="emoji-tag">&emsp;</span>Default: 192.168.1.1<br />
  <span class="emoji-tag">&emsp;</span>Gateway: 192.168.1.1<br />
  <span class="emoji-tag">&emsp;</span>DNS: 192.168.1.1 8.8.8.8<br />
</div><br />
On y lire la carte réseau, le driver, la vitesse el bit par seconde, l'adresse MAC, l'adresse IP sur le réseau local, l'adresse de la passerelle, et deux DNS.<br />
<br />
<h4 class="formatter-title wiki-paragraph-4" id="paragraph-l-option-g-graphique">L'option -G : graphique</h4><br />

La commande <pre style="display:inline;">inxi -G</pre> dans un terminal Linux affiche des informations détaillées sur la carte graphique de votre système, ainsi que le pilote graphique utilisé. Cela inclut des informations sur les périphériques graphiques (GPU) installés, le type de GPU, le pilote associé, et d'autres détails concernant l'affichage graphique. Par exemple :<br />
<br />
<div id="" class="" style="font-family:Andale mono;color:white;background-color:black;margin:1em;padding: 3px;"><span style="color:#00FF00;">[user@monordi ~]$</span> inxi -G<br />
Graphics:  Device-1: Intel HD Graphics 620 driver: i915 v: kernel<br />
           <span class="emoji-tag">&emsp;</span>Device-2: NVIDIA GM108M [GeForce 940MX] driver: nvidia v: 465.27.0<br />
           <span class="emoji-tag">&emsp;</span>Display: server: X.Org 1.20.9 driver: modesetting,nvidia<br />
          <span class="emoji-tag">&emsp;</span>resolution: 1920x1080~60Hz<br />
           <span class="emoji-tag">&emsp;</span>OpenGL: renderer: GeForce 940MX/PCIe/SSE2 v: 4.6.0 NVIDIA 465.27.0<br />
</div><br />
<br />
<h4 class="formatter-title wiki-paragraph-4" id="paragraph-l-option-d-le-stockage">L'option -D : le stockage</h4><br />

C'est la commande <pre style="display:inline;">inxi -D</pre> qui affichera les informations sur vos disques et partitions.<br />
<div id="" class="" style="font-family:Andale mono;color:white;background-color:black;margin:1em;padding: 3px;"><span style="color:#00FF00;">[user@monordi ~]$</span> inxi -D<br />
           Drives:    Local Storage: total: 1.92 TiB used: 100.26 GiB (5.4%)<br />
           <span class="emoji-tag">&emsp;</span>ID-1: /dev/sda vendor: Seagate model: ST1000DM003-1ER162 size: 931.51 GiB<br />
           <span class="emoji-tag">&emsp;</span>ID-2: /dev/sdb vendor: Samsung model: SSD 850 size: 931.51 GiB<br />
           <span class="emoji-tag">&emsp;</span>ID-3: /dev/sdl vendor: SanDisk model: Ultra Fit size: 59.6 GiB type: USB<br />
</div><br />
Ceci pour un HD Seagate 1<span class="emoji-tag">&nbsp;</span>TB, un SSD Samsun 1<span class="emoji-tag">&nbsp;</span>TB et une clé USB SanDisk montée de 64 GB.<br />
<br />
Ce sont les commandes <pre style="display:inline;">inxi -Dx</pre> ou  <pre style="display:inline;">inxi -Dxx</pre> qui afficheront davantage d'informations comme le numéro de série, les températures,  la vitesse de transfert, vitesse de rotation, etc.<br />
<br />
Pas d'exemples de températures de disque ou de vitesses de rotation sur mon PC. Désolé ! <img src="https://www.mageialinux-online.org/images/smileys/67.gif" alt=":gene2l:" class="smiley" /><br />
<br />
<h4 class="formatter-title wiki-paragraph-4" id="paragraph-l-option-v">L'option -v</h4><br />

L'option -v est l'option de verbosité d'inxi. -v 0 correspond à inxi sans aucune option. -v 2 correspondant à l'option -b. (cf <strong>Aide et compléments</strong> ci-dessous)<br />
<br />
<h4 class="formatter-title wiki-paragraph-4" id="paragraph-la-surprenante-option-w">La surprenante option -w</h4><br />

Avec cette option inxi renvoie la météo d'un lieu.<br />
<div id="" class="" style="font-family:Andale mono;color:white;background-color:black;margin:1em;padding: 3px;"><span style="color:#00FF00;">[user@monordi ~]$</span>inxi -w marseille,fr<br />
Weather:<br />
  <span class="emoji-tag">&emsp;</span>Report: temperature: 10.37 C (51 F) conditions: overcast clouds<br />
  <span class="emoji-tag">&emsp;</span>Locale: Marseille, Fr current time: sam. 16 nov. 2024 17:19:47<br />
   <span class="emoji-tag">&emsp;</span> Source: OpenWeatherMap.org</div>et même avec un simple code postal :<br />
<div id="" class="" style="font-family:Andale mono;color:white;background-color:black;margin:1em;padding: 3px;"><span style="color:#00FF00;">[user@monordi ~]$</span>inxi -w 75000,fr<br />
Weather:<br />
  <span class="emoji-tag">&emsp;</span>Report: temperature: 11.13 C (52 F) conditions: light rain<br />
  <span class="emoji-tag">&emsp;</span>Locale: 75000, Fr current time: lun. 18 nov. 2024 14:36:15<br />
   <span class="emoji-tag">&emsp;</span> Source: OpenWeatherMap.org</div><br />
<br />
<h3 class="formatter-title wiki-paragraph-3" id="paragraph-aide-complements">Aide, compléments</h3><br />

<pre style="display:inline;">inxi</pre> est bien plus riche que ne le montre les quelques exemples ci-dessus.<br />
Toutes les options possibles et leurs usages sont disponibles avec l'option -h :<br />
<div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;">inxi <span style="color: #660033;">-h</span></pre></pre></div></div><br />
Vous disposez aussi de la page de man du système :<div class="formatter-container formatter-code code-BASH"><span class="formatter-title">Code BASH : </span><div class="formatter-content"><pre style="display:inline;"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">man</span> inxi</pre></pre></div></div>Tout ceci étant en anglais.<br />
<h2 class="formatter-title wiki-paragraph-2" id="paragraph-sitographie">Sitographie</h2><br />

Pour compléter ce petit exposé :<br />
<ul class="formatter-ul">
    <li class="formatter-li">L'excellent <a class="offload" href="https://www.linuxtricks.fr/wiki/inxi-un-script-complet-d-informations-systeme">Linuxtricks</a> d'Adrien.
    </li><li class="formatter-li"><a class="offload" href="https://memo-linux.com/tout-savoir-sur-son-systeme-linux-grace-a-la-commande-inxi/">Memo Linux</a>.
    </li><li class="formatter-li"><a class="offload" href="https://manpages.org/inxi">Page de man sur le web</a>. En anglais.
    </li><li class="formatter-li">Un paragraphe du site de <a class="offload" href="https://www.malekal.com/commandes-linux-pour-afficher-la-configuration-materielle/">Malekal</a>
    </li><li class="formatter-li"><a class="offload" href="https://opensource.com/article/22/9/linux-inxi-command">Un article de Open source.com</a>. En anglais.<br />
</li></ul><br />
<p style="text-align: right;"><a class="offload" href="https://www.mageialinux-online.org/user/profile/5813">Meuz</a>, le 18/11/2024<br />
</p>]]></description>
                <pubDate>Thu, 28 Nov 2024 19:12:54 +0100</pubDate>
                
            </item>
		
            <item>
                <title><![CDATA[Outils en console]]></title>
                <link>https://www.mageialinux-online.org/wiki/outils-en-console</link>
                <guid>https://www.mageialinux-online.org/wiki/outils-en-console</guid>
                <description><![CDATA[Quelques outils, logiciels en ligne de commande pour gérer ou s'informer sur le système.]]></description>
                <pubDate>Sat, 16 Nov 2024 17:55:18 +0100</pubDate>
                
            </item>
		
	</channel>
</rss>
