-h Print usage message.
-T Include a timestamp column.
-p PID Trace this process ID only (filtered in-kernel).
-t TID Trace this thread ID only (filtered in-kernel).
-d DURATION Total duration of trace in seconds.
-n NAME Only print command lines matching this command name (regex)
Trace all sockets: # sofdsnoop
Trace all sockets, and include timestamps: # sofdsnoop -T
Only trace sockets where the process contains "server": # sofdsnoop -n server
TIME(s) Time of SEDN/RECV actions, in seconds.
ACTION Operation on the fd SEND/RECV.
TID Process TID
COMM Parent process/command name.
SOCKET The socket carrier.
FD file descriptor number
NAME file name for SEND lines
Also look in the bcc distribution for a companion _examples.txt file containing example usage, output, and commentary for this tool.