Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Similar to Rebooting a virtual machine from the Cloud+ console, we also have access to a ‘Shut Off’ function:


Image Modified


This will send a ‘nice’ shutdown command to the controlling software for the virtual machines for your account, and send a “Power key” event to the virtual machine.

The Operating System’s visibility of this process can again be viewed from most logs, e.g. from journald in this example:

ubuntu@example-server:~$ journalctl -b-1 --no-pager -u systemd-logind --since 08:32:28
-- Logs begin at Thu 2021-04-08 08:27:30 UTC, end at Thu 2021-04-08 08:44:10 UTC. --
Apr 08 08:38:20 example-server systemd-logind[647]: Power key pressed.
Apr 08 08:38:20 example-server systemd-logind[647]: Powering Off...
Apr 08 08:38:20 example-server systemd-logind[647]: System is powering down.
Apr 08 08:38:21 example-server systemd-logind[647]: Session 1 logged out. Waiting for processes to exit.
Apr 08 08:38:21 example-server systemd-logind[647]: Removed session 1.
Apr 08 08:38:21 example-server systemd[1]: Stopping Login Service...
Apr 08 08:38:21 example-server systemd[1]: systemd-logind.service: Succeeded.
Apr 08 08:38:21 example-server systemd[1]: Stopped Login Service.