From 847ae0ae7f29e7bfb245d692409fc2948eab7d1d Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 19 Jul 2013 19:16:47 +0200 Subject: man: update documentation of slice units a bit --- man/systemd.slice.xml | 34 ++++++++++++++++++++++++++++------ 1 file changed, 28 insertions(+), 6 deletions(-) (limited to 'man/systemd.slice.xml') diff --git a/man/systemd.slice.xml b/man/systemd.slice.xml index 5376921689..7ddef85eec 100644 --- a/man/systemd.slice.xml +++ b/man/systemd.slice.xml @@ -55,14 +55,34 @@ along with systemd; If not, see . Description A unit configuration file whose name ends in - .slice encodes information about a slice - created by systemd to manage resources used by a certain group of + .slice encodes information about a slice which + is a concept for hierarchially managing resources of a group of processes. This management is performed by creating a node in the - control group tree. Those processes are part of different units, - usually .service units (see - systemd.unit5). + control group tree. Units that manage processes (primarilly scope + and service units) may be assigned to a specific slice. For each + slice certain resource limits may the be set, that apply to all + processes of all units contained in that slice. Slices are + organized hierarchially in a tree. The name of the slice encodes + the location in the tree. The name consists of a "-" separated + series of names, which describes the path to the slice from the + root slice. The root slice is named, + -.slice. Example: + foo-bar.slice is a slice that is located + within foo.slice, which in turn is located in + the root slice -.slice. + By default service and scope units are placed in + system.slice, virtual machines and containers + registered with + systemd-machined1 + are found in machine.slice, and user sessions + handled by + systemd-logind1 + in user.slice. See + systemd.special5 + for more information. + See systemd.unit5 for the common options of all unit configuration @@ -92,7 +112,9 @@ along with systemd; If not, see . systemd.unit5, systemd.cgroup5, systemd.service5, - systemd.directives7. + systemd.scope5, + systemd.special7, + systemd.directives7 -- cgit v1.2.3-54-g00ecf