Sysctl: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 14: Line 14:


For more details about individual configuration attributes, see: {{Internal|Kernel Runtime Configuration|Kernel Runtime Configuration}}
For more details about individual configuration attributes, see: {{Internal|Kernel Runtime Configuration|Kernel Runtime Configuration}}
=Options=
==<tt>-w</tt>==
Write configuration:
<syntaxhighlight lang='bash'>
sysctl -w net.bridge.bridge-nf-call-iptables=1
</syntaxhighlight>


=Mac Only Attributes=
=Mac Only Attributes=

Revision as of 16:21, 2 July 2021

Internal

Overview

Gets/sets the kernel state.

Displays all available and "opaque" values.

sysctl -A

For more details about individual configuration attributes, see:

Kernel Runtime Configuration

Options

-w

Write configuration:

sysctl -w net.bridge.bridge-nf-call-iptables=1

Mac Only Attributes

hw.memsize

Physical memory size available on the system (in bytes).

/etc/sysctl.conf

/etc/sysctl.conf