Zum Inhalt springen

Sysctl: Unterschied zwischen den Versionen

Aus Foxwiki
Zeile 23: Zeile 23:
== Anwendung ==
== Anwendung ==
<syntaxhighlight lang="bash" highlight="1" line>
<syntaxhighlight lang="bash" highlight="1" line>
/sbin/sysctl -a
/sbin/sysctl -n kernel.hostname
/sbin/sysctl -w kernel.domainname="example.com"
/sbin/sysctl -p/etc/sysctl.conf
/sbin/sysctl -a --pattern forward
/sbin/sysctl -a --pattern forward$
/sbin/sysctl -a --pattern 'net.ipv4.conf.(eth|wlan)0.arp'
/sbin/sysctl --system --pattern '^net.ipv6'


= Veraltete Parameter =
* The base_reachable_time and retrans_time are deprecated.
* The sysctl command does not allow changing values of these parameters.
* Users who insist to use deprecated kernel interfaces should push values to /proc file system by other means. For example:
echo 256 > /proc/sys/net/ipv6/neigh/eth0/base_reachable_time
</syntaxhighlight>
</syntaxhighlight>
=== Problembehebung ===
=== Problembehebung ===
== Konfiguration ==
== Konfiguration ==
=== Dateien ===
=== Dateien ===

Version vom 25. Januar 2025, 11:54 Uhr

sysctl - Beschreibung

Beschreibung

Installation

Aufruf

Optionen

Unix GNU Parameter Beschreibung
-1 --single Exit as soon as the first advertisement is received (default)

Parameter

Umgebungsvariablen

Exit-Status

Anwendung

/sbin/sysctl -a
/sbin/sysctl -n kernel.hostname
/sbin/sysctl -w kernel.domainname="example.com"
/sbin/sysctl -p/etc/sysctl.conf
/sbin/sysctl -a --pattern forward
/sbin/sysctl -a --pattern forward$
/sbin/sysctl -a --pattern 'net.ipv4.conf.(eth|wlan)0.arp'
/sbin/sysctl --system --pattern '^net.ipv6'

= Veraltete Parameter =
* The base_reachable_time and retrans_time are deprecated. 
* The sysctl command does not allow changing values of these parameters.
* Users who insist to use deprecated kernel interfaces should push values to /proc file system by other means. For example:

 echo 256 > /proc/sys/net/ipv6/neigh/eth0/base_reachable_time

Problembehebung

Konfiguration

Dateien

/proc/sys
/etc/sysctl.conf


Anhang

Siehe auch

Dokumentation

Man-Page
  • sysctl.conf(5)
  • regex(7)
Info-Pages

Links

Projekt
  1. https://github.com/klaver/sysctl
Weblinks