X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fmachinectl.xml;h=2f2e2571f597fec5ad62f3bc4008b9f25fda77c5;hb=821b2e792159e237a1e5a1ea4bb6ae2e55d64be5;hp=c06d0c7abb9def6720b4619c533787ca9c597df8;hpb=04d39279245834494baccfdb9349db8bf80abd13;p=elogind.git
diff --git a/man/machinectl.xml b/man/machinectl.xml
index c06d0c7ab..2f2e2571f 100644
--- a/man/machinectl.xml
+++ b/man/machinectl.xml
@@ -21,7 +21,8 @@
along with systemd; If not, see .
-->
-
+machinectl
@@ -71,57 +72,6 @@
The following options are understood:
-
-
-
-
- Prints a short help
- text and exits.
-
-
-
-
-
- Prints a short version
- string and exits.
-
-
-
-
-
- Do not pipe output into a
- pager.
-
-
-
-
-
- Do not query the user
- for authentication for privileged
- operations.
-
-
-
-
-
-
- Execute operation
- remotely. Specify a hostname, or
- username and hostname separated by @,
- to connect to. This will use SSH to
- talk to the remote machine manager
- instance.
-
-
-
-
-
-
- Execute operation on a
- local container. Specify a container
- name to connect to.
-
-
@@ -162,7 +112,7 @@
When used with
- kill-machine,
+ kill,
choose which processes to kill. Must
be one of , or
to select whether
@@ -177,7 +127,7 @@
When used with
- kill-machine, choose
+ kill, choose
which signal to send to selected
processes. Must be one of the
well-known signal specifiers, such as
@@ -188,6 +138,20 @@
SIGTERM.
+
+
+
+ Do not print the legend,
+ i.e. the column headers and the
+ footer.
+
+
+
+
+
+
+
+ The following commands are understood:
@@ -202,7 +166,7 @@
- status [ID...]
+ statusID...Show terse runtime
status information about one or more
@@ -215,7 +179,7 @@
- show [ID...]
+ showID...Show properties of one
or more registered virtual machines or
@@ -239,18 +203,49 @@
- terminate [ID...]
+ loginID
- Terminates a virtual
- machine or container. This kills all
- processes of the virtual machine or
- container and deallocates all
- resources attached to that
- instance.
+ Open a terminal login
+ session to a container. This will
+ create a TTY connection to a specific
+ container and asks for the execution of a
+ getty on it. Note that this is only
+ supported for containers running
+ systemd1
+ as init system.
- kill [ID...]
+ rebootID...
+
+ Reboot one or more
+ containers. This will trigger a reboot
+ by sending SIGINT to the container's
+ init process, which is roughly
+ equivalent to pressing Ctrl+Alt+Del on
+ a non-containerized system, and is
+ compatible with containers running any
+ init system.
+
+
+
+ poweroffID...
+
+ Power off one or more
+ containers. This will trigger a reboot
+ by sending SIGRTMIN+4 to the
+ container's init process, which causes
+ systemd-compatible init systems to
+ shut down cleanly. This operation does
+ not work on containers that do not run
+ a
+ systemd1-compatible
+ init system, such as
+ sysvinit.
+
+
+
+ killID...Send a signal to one
or more processes of the virtual
@@ -265,17 +260,16 @@
- login [ID]
+ terminateID...
- Open a terminal login
- session to a container. This will
- create a TTY connection to a specific
- container and asks for execution of a
- getty on it. Note that this is only
- supported for containers running
- systemd1
- as init system.
+ Terminates a virtual
+ machine or container. This kills all
+ processes of the virtual machine or
+ container and deallocates all
+ resources attached to that
+ instance.
+
@@ -287,21 +281,7 @@
code otherwise.
-
- Environment
-
-
-
- $SYSTEMD_PAGER
- Pager to use when
- is not given;
- overrides $PAGER. Setting
- this to an empty string or the value
- cat is equivalent to passing
- .
-
-
-
+ See Also