What's the terminal command to see how network shares are connected? I would like to see how certain volume shares are connected to my Mac. I'm on a Windows network and need to know if shares are connected over smb2 or cifs or afp protocol... etc... Do I need to restart my Mac each time to get an accurate reading? (cache)
For a more detailed listing of samba connections including the protocol in use, try:

smbutil statshares -a