macOS / binaries /

smbdiagnose

/usr/sbin/smbdiagnose
Gather information to aid in diagnosing SMB file sharing issues

The smbdiagnose tool gathers system information and network traffic in order to assist Apple when investigating issues related to SMB file sharing. A great deal of information is harvested, spanning system state, system configuration, and network traffic related to SMB file sharing.

source: man