This command retrieves a list of open handles for a file.
To view the retrieved handles, use the openfilesquery list-open-file-handles command.
Usage
openfilesquery query-open-file-handles --file-id IDRequired Parameters
| The ID of the open file for which you want to list open handles. The ID can be obtained with the |
Example
To retrieve open handles for file with ID 2569214:
vcli: admin> openfilesquery query-open-file-handles --file-id 2569214
Waiting ...
[2025-10-21 11:10:33] Getting open file handles for /abc/tdir0/file3456909 on tenant default
[2025-10-21 11:10:33] File has no locks, skipping locks retrieval per handle
[2025-10-21 11:10:33] Retrieved 2 open handles successfully ... |
Completed