How to find an active session for a particular CIFS share
Applies to
- ONTAP 9.8 and later
- CIFS
Answer
We can run below command to check CIFS session per share name.
- In 9.8 and later
::> cifs session show -vol-names <volume name> (Volume name associated with cifs share)
Note: CLI autocomplete for -vol-names is under investigation. Otherwise, the command works as expected.
- In 9.9.1 and later
::>cifs session show -share-name <share name>