1
1
.. program :: qvm-ls
2
2
3
- :program: `qvm-ls ` -- List VMs and various information about them
3
+ :program: `qvm-ls ` -- List qubes and various information about them
4
4
================================================================
5
5
6
6
Synopsis
7
7
--------
8
8
9
- :command: `qvm-ls ` [-h] [--verbose] [--quiet] [--help-columns] [--help-formats] [--format *FORMAT * | --fields *FIELD *,...] [--tags *TAG * [*TAG * ...]] [--running] [--paused] [--halted]
9
+ :command: `qvm-ls ` [--verbose] [--quiet] [--help] [--all]
10
+ [--exclude *EXCLUDE *] [--spinner] [--no-spinner]
11
+ [--format *FORMAT * | --fields *FIELD * [*FIELD * ...] | --disk | --network | --kernel]
12
+ [--tree] [--raw-data] [--raw-list] [--help-formats]
13
+ [--help-columns] [--class *CLASS * [*CLASS * ...]]
14
+ [--label *LABEL * [*LABEL * ...]] [--tags *TAG * [*TAG * ...]]
15
+ [--exclude-tags *TAG * [*TAG * ...]] [--running] [--paused]
16
+ [--halted] [--template-source *TEMPLATE * [*TEMPLATE * ...]]
17
+ [--netvm-is *NETVM * [*NETVM * ...]] [--internal <y|n>]
18
+ [--servicevm <y|n>] [--pending-update]
19
+ [--features *FEATURE=VALUE * [*FEATURE=VALUE * ...]]
20
+ [--prefs *PREFERENCE=VALUE * [*PREFERENCE=VALUE * ...]]
21
+ [--sort *COLUMN *] [--reverse] [--ignore-case]
22
+ [VMNAME ...]
10
23
11
- Options
12
- -------
24
+
25
+ Positional arguments
26
+ --------------------
27
+
28
+ .. option :: VMNAME ...
29
+
30
+ Zero or more domain names
31
+
32
+ General options
33
+ ---------------
13
34
14
35
.. option :: --help , -h
15
36
16
37
Show help message and exit
17
38
18
- .. option :: --help-columns
39
+ .. option :: --verbose , -v
19
40
20
- List all available columns with short descriptions and exit .
41
+ Increase verbosity .
21
42
22
- .. option :: --help-formats
43
+ .. option :: --quiet , -q
23
44
24
- List all available formats with their definitions and exit .
45
+ Decrease verbosity .
25
46
26
47
.. option :: --all
27
48
@@ -32,6 +53,17 @@ Options
32
53
Exclude the qube from --all. You need to use --all option explicitly to use
33
54
--exclude.
34
55
56
+ .. option :: --spinner
57
+
58
+ Have a spinner spinning while the spinning mainloop spins new table cells.
59
+
60
+ .. option :: --no-spinner
61
+
62
+ No spinner today.
63
+
64
+ Formatting options
65
+ ------------------
66
+
35
67
.. option :: --format=FORMAT , -o FORMAT
36
68
37
69
Sets format to a list of columns defined by preset. All formats along with
@@ -43,14 +75,10 @@ Options
43
75
:option: `--format `. All columns along with short descriptions can be listed
44
76
with :option: `--help-columns `.
45
77
46
- .. option :: --tags TAG ...
47
-
48
- Shows only VMs having specific tag(s).
49
-
50
- .. option :: --running , --paused , --halted
78
+ .. option :: --tree , -t
51
79
52
- Shows only VMs matching the specified power state(s). When none of these
53
- options is used (default), all VMs are shown .
80
+ List qubes as a network tree. Qubes are sorted as they are connected to
81
+ their netvms. Names are indented relative to the number of connected netvms .
54
82
55
83
.. option :: --raw-data
56
84
@@ -62,11 +90,6 @@ Options
62
90
Give plain list of VM names, without header or separator. Useful in scripts.
63
91
Same as --raw-data --fields=name
64
92
65
- .. option :: --tree , -t
66
-
67
- List domains as a network tree. Domains are sorted as they are connected to
68
- their netvms. Names are indented relative to the number of connected netvms.
69
-
70
93
.. option :: --disk , -d
71
94
72
95
Same as --format=disk, for compatibility with Qubes 3.x
@@ -79,21 +102,83 @@ Options
79
102
80
103
Same as --format=kernel, for compatibility with Qubes 3.x
81
104
82
- .. option :: --verbose , -v
105
+ .. option :: --help-columns
83
106
84
- Increase verbosity .
107
+ List all available columns with short descriptions and exit .
85
108
86
- .. option :: --quiet , -q
109
+ .. option :: --help-formats
87
110
88
- Decrease verbosity .
111
+ List all available formats with their definitions and exit .
89
112
90
- .. option :: --spinner
113
+ Filtering options
114
+ -----------------
91
115
92
- Have a spinner spinning while the spinning mainloop spins new table cells .
116
+ .. option :: --class CLASS .. .
93
117
94
- .. option :: --no-spinner
118
+ Show only qubes of specific class(es)
95
119
96
- No spinner today.
120
+ .. option :: --label LABEL ...
121
+
122
+ Show only qubes with specific label(s)
123
+
124
+ .. option :: --tags TAG ...
125
+
126
+ Shows only qubes having specific tag(s).
127
+
128
+ .. option :: --exclude-tags TAG ...
129
+
130
+ Exclude qubes having specific tag(s).
131
+
132
+ .. option :: --running , --paused , --halted
133
+
134
+ Shows only qubes matching the specified power state(s). When none of these
135
+ options is used (default), all qubes are shown.
136
+
137
+ .. option :: --template-source TEMPLATE ...
138
+
139
+ Filter results to the qubes based on the TEMPLATE(s)
140
+
141
+ .. option :: --netvm-is NETVM ...
142
+
143
+ Filter results to the qubes connecting via NETVM(s)
144
+
145
+ .. option :: --internal <y|n >
146
+
147
+ Show only internal qubes or exclude them from output
148
+
149
+ .. option :: --servicevm <y|n >
150
+
151
+ Show only servicevms or exclude them from output
152
+
153
+ .. option :: --pending-update
154
+
155
+ Filter results to qubes pending for update
156
+
157
+ .. option :: --features FEATURE=VALUE ...
158
+
159
+ Filter results to qubes that match all specified features. Omitted VALUE
160
+ means None (unset). Empty value means "" or '' (blank)
161
+
162
+ .. option :: --prefs PREFERENCE=VALUE ...
163
+
164
+ Filter results to qubes that match all specified preferences. Omitted VALUE
165
+ means None (unset). Empty value means "" or '' (blank)
166
+
167
+ Sorting options
168
+ ---------------
169
+
170
+ .. option :: --sort COLUMN
171
+
172
+ Sort based on provided column rather than NAME. Sort key must be in the
173
+ output columns
174
+
175
+ .. option :: --reverse
176
+
177
+ Reverse sort
178
+
179
+ .. option :: --ignore-case
180
+
181
+ Ignore case distinctions when sorting
97
182
98
183
Authors
99
184
-------
0 commit comments