X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fsystemctl.xml;h=0afb0cc626c318ff3506a5c301f4235ff10bee8b;hp=87d783e45d0b11e641298d7bd8248f657c3ea516;hb=d2bbca6855b174fb7ea90b4767a886bb88bd2400;hpb=a330b376bac697ecf13cada5f96070a318ab9ab9 diff --git a/man/systemctl.xml b/man/systemctl.xml index 87d783e45..0afb0cc62 100644 --- a/man/systemctl.xml +++ b/man/systemctl.xml @@ -92,21 +92,22 @@ along with systemd; If not, see . - The argument should be a unit type name such as - and , or a - unit load state such as and - . - - - If the argument is a unit type, when listing units, - limit display to certain unit types. If not specified units + The argument should be a comma separated list of unit + types such as and + , or unit load states such as + and + (types and states can be mixed). + + If one of the arguments is a unit type, when listing + units, limit display to certain unit types. Otherwise units of all types will be shown. - If the argument is a unit load state, when listing - units, limit display to certain unit types. If not specified - units of in all load states will be shown. + If one of the arguments is a unit load state, when + listing units, limit display to certain unit + types. Otherwise units of in all load states will be + shown. - As a special case, if the argument is + As a special case, if one of the arguments is , a list of allowed values will be printed and the program will exit. @@ -117,10 +118,11 @@ along with systemd; If not, see . - When showing unit/job/manager properties, limit - display to certain properties as specified as argument. If - not specified all set properties are shown. The argument - should be a comma-seperated list of property names, such as + When showing unit/job/manager properties with the + show command, limit display to certain + properties as specified as argument. If not specified all + set properties are shown. The argument should be a + comma-separated list of property names, such as MainPID. If specified more than once all properties with the specified names are shown. @@ -131,10 +133,35 @@ along with systemd; If not, see . - When listing units, show all units, regardless of - their state, including inactive units. When showing + When listing units, show all loaded units, regardless + of their state, including inactive units. When showing unit/job/manager properties, show all properties regardless whether they are set or not. + To list all units installed on the system, use the + list-unit-files command instead. + + + + + + + + Show reverse dependencies between units with + list-dependencies, i.e. units with + dependencies of type Wants= or + Requires= on the given unit. + + + + + + + + + + Show which units are started after, resp. before + with list-dependencies. + @@ -170,6 +197,14 @@ along with systemd; If not, see . + + + + + When showing sockets, show the type of the socket. + + + @@ -206,7 +241,7 @@ along with systemd; If not, see . sleep state. Any user may take these locks and privileged users may override these locks. If any locks are taken, shutdown and sleep state requests will normally fail - (regardless if privileged or not) and list of active locks + (regardless if privileged or not) and a list of active locks is printed. However if is specified the locks are ignored and not printed, and the operation attempted anyway, possibly requiring additional @@ -458,6 +493,15 @@ along with systemd; If not, see . + + + + + When used with list-dependencies + the output is printed as a list instead of a tree. + + + @@ -477,6 +521,31 @@ along with systemd; If not, see . This is the default command. + + + list-sockets + + + List socket units ordered by the listening address. Produces output + similar to + +LISTEN UNIT ACTIVATES +/dev/initctl systemd-initctl.socket systemd-initctl.service +... +[::]:22 sshd.socket sshd.service +kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service + +5 sockets listed. + + Note: because the addresses might contains spaces, this output + is not suitable for programatic consumption. + + + See also the options , + , and . + + + start NAME... @@ -720,7 +789,7 @@ along with systemd; If not, see . unit name, plus a control group specification in the syntax CONTROLLER:PATH or CONTROLLER. In the latter syntax - (where the path is ommitted) the default unit control group + (where the path is omitted) the default unit control group path is implied. Examples: cpu or cpu:/foo/bar. If a unit is removed from a control group hierarchy all its processes will be moved to the