The STREAMS message-tracing facility can be used to track down any unfreed messages. When enabled, STREAMS tracks all allocated messages in an internal table. The file name and line number of the allocation are tracked. The following command formats are available:
strmdbg -m flush // flushes the tracing table strmdbg -m on // enables message tracing strmdbg -m off // disables message tracing strmdbg -m print // dumps the table to the debugger