Mac Kernel Parameter Configuration

From NovaOrdis Knowledge Base
Revision as of 17:39, 26 July 2018 by Ovidiu (talk | contribs) (Created page with "=Internal= * Mac =Overview= =Get the Configuration= =Set the Configuration= To set the configuration to survive reboot, use either sysctl or update...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Internal

Overview

Get the Configuration

Set the Configuration

To set the configuration to survive reboot, use either sysctl or update /etc/sysctl.conf, creating the file if it does not exists.

Example:

sysctl -w net.inet.tcp.keepidle=180000 net.inet.tcp.keepcnt=3 net.inet.tcp.keepintvl=10000

/etc/sysctl.conf:

net.inet.tcp.keepidle=180000
net.inet.tcp.keepintvl=10000
net.inet.tcp.keepcnt=3