{
    "content": [
        {
            "type": "text",
            "text": "# systemd-sysctl.service(8) (man)\n\n**Summary:** systemd-sysctl.service, systemd-sysctl - Configure kernel parameters at boot\n\n**Synopsis:** /lib/systemd/systemd-sysctl [OPTIONS...] [CONFIGFILE...]\nsystemd-sysctl.service\n\n## Flags\n\n| Flag | Long | Arg | Description |\n|------|------|-----|-------------|\n| — | — | — | Only apply rules with the specified prefix. |\n| — | --cat-config | — | Copy the contents of config files to standard output. Before each file, the filename is printed as a comment. |\n| — | --no-pager | — | Do not pipe output into a pager. |\n| -h | --help | — | Print a short help text and exit. |\n| — | --version | — | Print a short version string and exit. |\n\n## Examples\n\n- `systemctl restart systemd-sysctl`\n- `# sysctl kernel.corepattern`\n- `kernel.corepattern = |/libexec/abrt-hook-ccpp %s %c %p %u %g %t %P %I`\n- `# /lib/systemd/systemd-sysctl --prefix kernel.corepattern`\n- `This searches all the directories listed in sysctl.d(5) for configuration files and writes`\n- `/proc/sys/kernel/corepattern.`\n- `# /lib/systemd/systemd-sysctl 50-coredump.conf`\n- `This applies all the settings found in 50-coredump.conf. Either`\n- `/etc/sysctl.d/50-coredump.conf, or /run/sysctl.d/50-coredump.conf, or`\n- `/usr/lib/sysctl.d/50-coredump.conf will be used, in the order of preference.`\n- `See sysctl(8) for various ways to directly apply sysctl settings.`\n\n## See Also\n\n- systemd(1)\n- sysctl.d(5)\n- sysctl(8)\n- SYSTEMD-SYSCTL.SERVICE(8)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (4 lines)\n- **DESCRIPTION** (14 lines)\n- **OPTIONS** (1 lines) — 5 subsections\n  - --prefix= (2 lines)\n  - --cat-config (3 lines)\n  - --no-pager (2 lines)\n  - -h --help (2 lines)\n  - --version (2 lines)\n- **EXAMPLES** (1 lines) — 4 subsections\n  - Example 1. Reset all sysctl settings (2 lines)\n  - Example 2. View coredump handler configuration (3 lines)\n  - Example 3. Update coredump handler configuration (5 lines)\n  - Example 4. Update coredump handler configuration according t (8 lines)\n- **SEE ALSO** (5 lines)\n\n## Full Content\n\n### NAME\n\nsystemd-sysctl.service, systemd-sysctl - Configure kernel parameters at boot\n\n### SYNOPSIS\n\n/lib/systemd/systemd-sysctl [OPTIONS...] [CONFIGFILE...]\n\nsystemd-sysctl.service\n\n### DESCRIPTION\n\nsystemd-sysctl.service is an early boot service that configures sysctl(8) kernel parameters\nby invoking /lib/systemd/systemd-sysctl.\n\nWhen invoked with no arguments, /lib/systemd/systemd-sysctl applies all directives from\nconfiguration files listed in sysctl.d(5). If one or more filenames are passed on the command\nline, only the directives in these files are applied.\n\nIn addition, --prefix= option may be used to limit which sysctl settings are applied.\n\nSee sysctl.d(5) for information about the configuration of sysctl settings. After sysctl\nconfiguration is changed on disk, it must be written to the files in /proc/sys/ before it\ntakes effect. It is possible to update specific settings, or simply to reload all\nconfiguration, see Examples below.\n\n### OPTIONS\n\n#### --prefix=\n\nOnly apply rules with the specified prefix.\n\n#### --cat-config\n\nCopy the contents of config files to standard output. Before each file, the filename is\nprinted as a comment.\n\n#### --no-pager\n\nDo not pipe output into a pager.\n\n#### -h --help\n\nPrint a short help text and exit.\n\n#### --version\n\nPrint a short version string and exit.\n\n### EXAMPLES\n\n#### Example 1. Reset all sysctl settings\n\nsystemctl restart systemd-sysctl\n\n#### Example 2. View coredump handler configuration\n\n# sysctl kernel.corepattern\nkernel.corepattern = |/libexec/abrt-hook-ccpp %s %c %p %u %g %t %P %I\n\n#### Example 3. Update coredump handler configuration\n\n# /lib/systemd/systemd-sysctl --prefix kernel.corepattern\n\nThis searches all the directories listed in sysctl.d(5) for configuration files and writes\n/proc/sys/kernel/corepattern.\n\n#### Example 4. Update coredump handler configuration according to a specific file\n\n# /lib/systemd/systemd-sysctl 50-coredump.conf\n\nThis applies all the settings found in 50-coredump.conf. Either\n/etc/sysctl.d/50-coredump.conf, or /run/sysctl.d/50-coredump.conf, or\n/usr/lib/sysctl.d/50-coredump.conf will be used, in the order of preference.\n\nSee sysctl(8) for various ways to directly apply sysctl settings.\n\n### SEE ALSO\n\nsystemd(1), sysctl.d(5), sysctl(8),\n\n\n\nsystemd 249                                                                SYSTEMD-SYSCTL.SERVICE(8)\n\n"
        }
    ],
    "structuredContent": {
        "command": "systemd-sysctl.service",
        "section": "8",
        "mode": "man",
        "summary": "systemd-sysctl.service, systemd-sysctl - Configure kernel parameters at boot",
        "synopsis": "/lib/systemd/systemd-sysctl [OPTIONS...] [CONFIGFILE...]\nsystemd-sysctl.service",
        "flags": [
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Only apply rules with the specified prefix."
            },
            {
                "flag": "",
                "long": "--cat-config",
                "arg": null,
                "description": "Copy the contents of config files to standard output. Before each file, the filename is printed as a comment."
            },
            {
                "flag": "",
                "long": "--no-pager",
                "arg": null,
                "description": "Do not pipe output into a pager."
            },
            {
                "flag": "-h",
                "long": "--help",
                "arg": null,
                "description": "Print a short help text and exit."
            },
            {
                "flag": "",
                "long": "--version",
                "arg": null,
                "description": "Print a short version string and exit."
            }
        ],
        "examples": [
            "systemctl restart systemd-sysctl",
            "# sysctl kernel.corepattern",
            "kernel.corepattern = |/libexec/abrt-hook-ccpp %s %c %p %u %g %t %P %I",
            "# /lib/systemd/systemd-sysctl --prefix kernel.corepattern",
            "This searches all the directories listed in sysctl.d(5) for configuration files and writes",
            "/proc/sys/kernel/corepattern.",
            "# /lib/systemd/systemd-sysctl 50-coredump.conf",
            "This applies all the settings found in 50-coredump.conf. Either",
            "/etc/sysctl.d/50-coredump.conf, or /run/sysctl.d/50-coredump.conf, or",
            "/usr/lib/sysctl.d/50-coredump.conf will be used, in the order of preference.",
            "See sysctl(8) for various ways to directly apply sysctl settings."
        ],
        "see_also": [
            {
                "name": "systemd",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/systemd/1/json"
            },
            {
                "name": "sysctl.d",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/sysctl.d/5/json"
            },
            {
                "name": "sysctl",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/sysctl/8/json"
            },
            {
                "name": "SYSTEMD-SYSCTL.SERVICE",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/SYSTEMD-SYSCTL.SERVICE/8/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 14,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "--prefix=",
                        "lines": 2
                    },
                    {
                        "name": "--cat-config",
                        "lines": 3,
                        "long": "--cat-config"
                    },
                    {
                        "name": "--no-pager",
                        "lines": 2,
                        "long": "--no-pager"
                    },
                    {
                        "name": "-h --help",
                        "lines": 2,
                        "flag": "-h",
                        "long": "--help"
                    },
                    {
                        "name": "--version",
                        "lines": 2,
                        "long": "--version"
                    }
                ]
            },
            {
                "name": "EXAMPLES",
                "lines": 1,
                "subsections": [
                    {
                        "name": "Example 1. Reset all sysctl settings",
                        "lines": 2
                    },
                    {
                        "name": "Example 2. View coredump handler configuration",
                        "lines": 3
                    },
                    {
                        "name": "Example 3. Update coredump handler configuration",
                        "lines": 5
                    },
                    {
                        "name": "Example 4. Update coredump handler configuration according to a specific file",
                        "lines": 8
                    }
                ]
            },
            {
                "name": "SEE ALSO",
                "lines": 5,
                "subsections": []
            }
        ]
    }
}