Skip to content

Commit 8c286c1

Browse files
systemctl-list-machines: add page (#19528)
1 parent 21bbea7 commit 8c286c1

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)