This command runs an existing query to list open files for a certain path.
Usage
openfilesquery list-open-files --id ID
[--page-size COUNT]
[--page PAGE-NUMBER] Required Parameters
| The ID of the query to display. The ID can be obtained with the |
Options
| Sets the maximum number of entries in an output page. Valid values: 1-1000. Default: 100. |
| Displays a particular output page. By default, page 1 is displayed. Using this option requires that the page size ( |
Example
To run an open file query with ID 15:
vcli: admin> openfilesquery list-open-files --id 15
Last query was launched at 2025-10-31 21:31:24. Use `openfilesquery create` to refresh it.
+----+-----------------------------------------+-----------+---------------------+-----------+
| ID | Path | Tenant-id | Open-files-query-id | Has-locks |
+----+-----------------------------------------+-----------+---------------------+-----------+
| 20 | /OWT-SMB-01/Test.Directory/Test.File-03 | 1 | 15 | False |
| 21 | /OWT-SMB-01/Test.Directory/Test.File-01 | 1 | 15 | False |
| 22 | /OWT-SMB-01/Test.Directory/Test.File-04 | 1 | 15 | False |
| 23 | /OWT-SMB-01/Test.Directory/Test.File-05 | 1 | 15 | False |
+----+-----------------------------------------+-----------+---------------------+-----------+