HP Sockets Direct Protocol (SDP) User Guide HP-UX 11i v3 (5900-3110, May 2013)

flag with the value 1). A non-root user can configure libsdp.conf to record function calls and
return values in the /var/adm/libsdp.log file.
For more information about debugging SDP, see “Configuration files for libsdp.conf (page 14).
Debugging SDP using NetTL
SDP supports tracing packets and logging through NetTL subsystem. The libfmsdp library is used
for formatting SDP trace. While installing SDP, the libfmsdp library is placed under the /usr/
lib/hpux32 file. Support for catalogue (NLS feature) is currently not available in SDP.
Enabling NetTL for SDP
NOTE: During the installation of SDP,
SS:300:SDP:12:k:libfmsdp.so::subsys_sdp_format::SDP Protocol line is added
to the /etc/nettlgen.conf file by default.
1. Enable tracing for all” trace kinds in SDP, and dump into the /tmp/sdp.TRCXXX file.
Supported trace kinds are hdrin, hdrout, pduin, or pduout. For information about
particular trace kind, see nettl(1M).
nettl -tn all -e SDP -file /tmp/sdp
2. Run your application.
3. Stop tracing for SDP:
nettl -tf -e SDP
4. Display the trace information in human readable format:
netfmt -vnNl -f/tmp/sdp.TRCXXX
10 Monitoring and troubleshooting SDP