Usage of TrueNAS Scale CLI with filter/queries and <dict> values

Cout99

Cadet
Joined
Oct 1, 2022
Messages
1
Hi all,
I want to use the TrueNAS CLI and basically it is working. But I cannot figure out how to use filter/queries or expand <dict> values. For Example I want to see all RUNNING jobs with the current progress. So what is the right command?

Code:
command:
system core get_jobs id,description,progress,state,method

result:

+------+---------------------------------------+-----------------------+----------+---------+
| id   | method                                | description           | progress | state   
+------+---------------------------------------+-----------------------+----------+---------+
| 2079 | disk.wipe                             | Full wipe of disk sda | <dict>   | RUNNING |
| 2082 | disk.wipe                             | Full wipe of disk sdb | <dict>   | RUNNING |
| 2083 | disk.wipe                             | Full wipe of disk sdc | <dict>   | RUNNING |
+------+---------------------------------------+-----------------------+----------+---------+
 
Top