forgot if-statement in last commit
This commit is contained in:
parent
3c7915808b
commit
3599249e2d
@ -150,7 +150,11 @@ def main():
|
|||||||
cpu_usages = None
|
cpu_usages = None
|
||||||
|
|
||||||
if arguments.raw_data:
|
if arguments.raw_data:
|
||||||
if ''
|
fields_to_display = arguments.raw_data
|
||||||
|
if 'cpu' in arguments.raw_data:
|
||||||
|
qhost = QubesHost()
|
||||||
|
(measure_time, cpu_usages) = qhost.measure_cpu_usage(qvm_collection)
|
||||||
|
else:
|
||||||
fields_to_display = ["name", "on", "state", "updbl", "type", "template", "netvm", "label" ]
|
fields_to_display = ["name", "on", "state", "updbl", "type", "template", "netvm", "label" ]
|
||||||
|
|
||||||
if (arguments.ids):
|
if (arguments.ids):
|
||||||
|
Loading…
Reference in New Issue
Block a user