X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fmachinectl.xml;h=9eb45dc77ecae10081f1ee776c8356c5363013bf;hp=2ed9f2e8a1eebe67298cf25da437019f3dd84632;hb=e56056e93d33619a3acf13e483900b4f8938228f;hpb=3fde5f30bda2a70d97f3dc8fa918e42e1c07cc2c diff --git a/man/machinectl.xml b/man/machinectl.xml index 2ed9f2e8a..9eb45dc77 100644 --- a/man/machinectl.xml +++ b/man/machinectl.xml @@ -21,7 +21,8 @@ along with systemd; If not, see . --> - + machinectl @@ -86,6 +87,50 @@ string and exits. + + + + Do not pipe output into a + pager. + + + + + + Do not print the legend, + i.e. the column headers and the + footer. + + + + + + Do not query the user + for authentication for privileged + operations. + + + + + + + Execute the 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 the operation on a + local container. Specify a container + name to connect to. + + @@ -122,26 +167,11 @@ - - - - Do not pipe output into a - pager. - - - - - - Do not query the user - for authentication for privileged - operations. - - When used with - kill-machine, + kill, choose which processes to kill. Must be one of , or to select whether @@ -156,7 +186,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 @@ -167,26 +197,6 @@ SIGTERM. - - - - - 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. - - - - - - - Acquire privileges via - PolicyKit before executing the - operation. - The following commands are understood: @@ -201,7 +211,7 @@ - status [ID...] + status ID... Show terse runtime status information about one or more @@ -214,7 +224,7 @@ - show [ID...] + show ID... Show properties of one or more registered virtual machines or @@ -238,7 +248,7 @@ - terminate [ID...] + terminate ID... Terminates a virtual machine or container. This kills all @@ -249,7 +259,7 @@ - kill [ID...] + kill ID... Send a signal to one or more processes of the virtual @@ -262,6 +272,31 @@ to select the signal to send. + + + reboot ID... + + 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. + + + + login ID + + 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. + @@ -273,28 +308,14 @@ 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 systemd-machined.service8, - systemd-logind.service8, - systemd.special7. + systemd-nspawn1, + systemd.special7