{"id":3612,"date":"2022-12-20T17:09:09","date_gmt":"2022-12-20T20:09:09","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/systemdsysctl-service-man8\/"},"modified":"2022-12-20T17:09:09","modified_gmt":"2022-12-20T20:09:09","slug":"systemdsysctl-service-man8","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/systemdsysctl-service-man8\/","title":{"rendered":"SYSTEMD&minus;SYSCTL.SERVICE (man8)"},"content":{"rendered":"<h1 align=\"center\">SYSTEMD\u2212SYSCTL.SERVICE<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#OPTIONS\">OPTIONS<\/a><br \/> <a href=\"#EXAMPLES\">EXAMPLES<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">systemd-sysctl.service, systemd-sysctl \u2212 Configure kernel parameters at boot<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>\/usr\/lib\/systemd\/systemd\u2212sysctl<\/b> [OPTIONS&#8230;] [<i>CONFIGFILE<\/i>&#8230;]<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%; margin-top: 1em\">systemd\u2212sysctl.service<\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">systemd\u2212sysctl.service is an early boot service that configures <b>sysctl<\/b>(8) kernel parameters by invoking <b>\/usr\/lib\/systemd\/systemd\u2212sysctl<\/b>.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">When invoked with no arguments, <b>\/usr\/lib\/systemd\/systemd\u2212sysctl<\/b> applies all directives from configuration files listed in <b>sysctl.d<\/b>(5). If one or more filenames are passed on the command line, only the directives in these files are applied.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">In addition, <b>\u2212\u2212prefix=<\/b> option may be used to limit which sysctl settings are applied.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">See <b>sysctl.d<\/b>(5) for information about the configuration of sysctl settings. After sysctl configuration is changed on disk, it must be written to the files in \/proc\/sys before it takes effect. It is possible to update specific settings, or simply to reload all configuration, see Examples below.<\/p>\n<h2>OPTIONS <a name=\"OPTIONS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212\u2212prefix=<\/b><\/p>\n<p style=\"margin-left:17%;\">Only apply rules with the specified prefix.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212\u2212cat\u2212config<\/b><\/p>\n<p style=\"margin-left:17%;\">Copy the contents of config files to standard output. Before each file, the filename is printed as a comment.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212\u2212no\u2212pager<\/b><\/p>\n<p style=\"margin-left:17%;\">Do not pipe output into a pager.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212h<\/b>, <b>\u2212\u2212help<\/b><\/p>\n<p style=\"margin-left:17%;\">Print a short help text and exit.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212\u2212version<\/b><\/p>\n<p style=\"margin-left:17%;\">Print a short version string and exit.<\/p>\n<h2>EXAMPLES <a name=\"EXAMPLES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Example\u00a01.\u00a0Reset all sysctl settings<\/b><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">systemctl restart systemd\u2212sysctl<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Example\u00a02.\u00a0View coredump handler configuration<\/b><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"># sysctl kernel.core_pattern <br \/> kernel.core_pattern = |\/usr\/libexec\/abrt\u2212hook\u2212ccpp %s %c %p %u %g %t %P %I<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Example\u00a03.\u00a0Update coredump handler configuration<\/b><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"># \/usr\/lib\/systemd\/systemd\u2212sysctl \u2212\u2212prefix kernel.core_pattern<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">This searches all the directories listed in <b>sysctl.d<\/b>(5) for configuration files and writes \/proc\/sys\/kernel\/core_pattern.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Example\u00a04.\u00a0Update coredump handler configuration according to a specific file<\/b><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"># \/usr\/lib\/systemd\/systemd\u2212sysctl 50\u2212coredump.conf<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">This applies all the settings found in 50\u2212coredump.conf. Either \/etc\/sysctl.d\/50\u2212coredump.conf, or \/run\/sysctl.d\/50\u2212coredump.conf, or \/usr\/lib\/sysctl.d\/50\u2212coredump.conf will be used, in the order of preference.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">See <b>sysctl<\/b>(8) for various ways to directly apply sysctl settings.<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>systemd<\/b>(1), <b>sysctl.d<\/b>(5), <b>sysctl<\/b>(8),<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  systemd-sysctl.service, systemd-sysctl \u2212 Configure kernel parameters at boot <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[5,52,4,728],"class_list":["post-3612","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-man8","tag-systemd-sysctl"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3612","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=3612"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3612\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=3612"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=3612"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=3612"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}