]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: add entry about SpeedMeter=
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 18 Nov 2019 15:03:35 +0000 (00:03 +0900)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 18 Nov 2019 15:47:26 +0000 (16:47 +0100)
Closes #14002.

man/networkd.conf.xml

index 516455416b756c77e8ce4869562185bcaaa24a46..2041ddd42754bc9f754d9c56190db7240c2209cd 100644 (file)
 
   <xi:include href="standard-conf.xml" xpointer="main-conf" />
 
+  <refsect1>
+    <title>[Network] Section Options</title>
+
+    <para>The following options are available in the <literal>[Network]</literal> section:</para>
+
+    <variablelist class='network-directives'>
+      <varlistentry>
+        <term><varname>SpeedMeter=</varname></term>
+        <listitem><para>Takes a boolean. If set to yes, then <command>systemd-networkd</command>
+        measures the traffic of each interface, and
+        <command>networkctl status <replaceable>INTERFACE</replaceable> shows the measured speed.
+        </command>Defaults to no.</para></listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term><varname>SpeedMeterIntervalSec=</varname></term>
+        <listitem><para>Specifies the time interval to calculate the traffic speed of each interface.
+        If <varname>SpeedMeter=no</varname>, the value is ignored. Defaults to 10sec.</para></listitem>
+      </varlistentry>
+    </variablelist>
+  </refsect1>
+
   <refsect1>
     <title>[DHCP] Section Options</title>