{"id":4387,"date":"2022-12-20T17:49:08","date_gmt":"2022-12-20T20:49:08","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/systemd-slice-man5\/"},"modified":"2022-12-20T17:49:08","modified_gmt":"2022-12-20T20:49:08","slug":"systemd-slice-man5","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/systemd-slice-man5\/","title":{"rendered":"SYSTEMD.SLICE (man5)"},"content":{"rendered":"<h1 align=\"center\">SYSTEMD.SLICE<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#AUTOMATIC DEPENDENCIES\">AUTOMATIC DEPENDENCIES<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a><br \/> <a href=\"#NOTES\">NOTES<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">systemd.slice \u2212 Slice unit configuration<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>slice<\/i>.slice<\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">A unit configuration file whose name ends in &#8220;.slice&#8221; encodes information about a slice unit. A slice unit is a concept for hierarchically managing resources of a group of processes. This management is performed by creating a node in the Linux Control Group (cgroup) tree. Units that manage processes (primarily scope and service units) may be assigned to a specific slice. For each slice, certain resource limits may be set that apply to all processes of all units contained in that slice. Slices are organized hierarchically in a tree. The name of the slice encodes the location in the tree. The name consists of a dash\u2212separated series of names, which describes the path to the slice from the root slice. The root slice is named \u2212.slice. Example: foo\u2212bar.slice is a slice that is located within foo.slice, which in turn is located in the root slice \u2212.slice.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Note that slice units cannot be templated, nor is possible to add multiple names to a slice unit by creating additional symlinks to its unit file.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">By default, service and scope units are placed in system.slice, virtual machines and containers registered with <b>systemd-machined<\/b>(8) are found in machine.slice, and user sessions handled by <b>systemd-logind<\/b>(8) in user.slice. See <b>systemd.special<\/b>(7) for more information.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">See <b>systemd.unit<\/b>(5) for the common options of all unit configuration files. The common configuration items are configured in the generic [Unit] and [Install] sections. The slice specific configuration options are configured in the [Slice] section. Currently, only generic resource control settings as described in <b>systemd.resource-control<\/b>(5) are allowed.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">See the <b><font color=\"#0000FF\">New Control Group Interfaces<\/font><\/b> <small><font color=\"#000000\">[1]<\/font><\/small> <font color=\"#000000\">for an introduction on how to make use of slice units from programs.<\/font><\/p>\n<h2>AUTOMATIC DEPENDENCIES <a name=\"AUTOMATIC DEPENDENCIES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><b>Implicit Dependencies<\/b> <br \/> The following dependencies are implicitly added:<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">\u2022 Slice units automatically gain dependencies of type <i>After=<\/i> and <i>Requires=<\/i> on their immediate parent slice unit.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><b>Default Dependencies<\/b> <br \/> The following dependencies are added unless <i>DefaultDependencies=no<\/i> is set:<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">\u2022 Slice units will automatically have dependencies of type <i>Conflicts=<\/i> and <i>Before=<\/i> on shutdown.target. These ensure that slice units are removed prior to system shutdown. Only slice units involved with late system shutdown should disable <i>DefaultDependencies=<\/i> option.<\/font><\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><b>systemd<\/b>(1), <b>systemd.unit<\/b>(5), <b>systemd.resource-control<\/b>(5), <b>systemd.service<\/b>(5), <b>systemd.scope<\/b>(5), <b>systemd.special<\/b>(7), <b>systemd.directives<\/b>(7)<\/font><\/p>\n<h2>NOTES <a name=\"NOTES\"><\/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=\"12%\"><\/td>\n<td width=\"3%\">\n<p style=\"margin-top: 1em\"><font color=\"#000000\">1.<\/font><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"43%\">\n<p style=\"margin-top: 1em\"><font color=\"#000000\">New Control Group Interfaces<\/font><\/p>\n<\/td>\n<td width=\"40%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">https:\/\/www.freedesktop.org\/wiki\/Software\/systemd\/ControlGroupInterface\/<\/font><\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  systemd.slice \u2212 Slice unit configuration <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[959],"tags":[961,1291,978],"class_list":["post-4387","post","type-post","status-publish","format-standard","hentry","category-5-formatos-de-ficheros","tag-961","tag-man5","tag-systemd"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/4387","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=4387"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/4387\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=4387"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=4387"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=4387"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}