We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21bbea7 commit 8c286c1Copy full SHA for 8c286c1
pages/linux/systemctl-list-machines.md
@@ -0,0 +1,20 @@
1
+# systemctl list-machines
2
+
3
+> List the host and all running local virtual machines or containers with their state.
4
+> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#list-machines%20PATTERN%E2%80%A6>.
5
6
+- Show all machines (host and running containers/VMs):
7
8
+`systemctl list-machines`
9
10
+- List a specific machine:
11
12
+`systemctl list-machines {{machine}}`
13
14
+- List multiple matching machines:
15
16
+`systemctl list-machines {{machine_1 machine_2 ...}}`
17
18
+- Filter machines using wildcard patterns ie, `shell-globbing`:
19
20
+`systemctl list-machines {{pattern}}`
0 commit comments