Windows operating systemsAIX operating systems

Tracing data from a command shell for AIX® and Windows

The stand-alone utility, ddtrace, exactly mimics the DDTRACE server commands.

The stand-alone ddtrace utility is installed in the devices directory, which is the same directory as the mttest, lbtest, and optest utilities. Its syntax and options are identical to the DDTRACE server command. For example:
  • $ ddtrace start librarydd tapedd flags=EE - Start tracing both the library and tape drivers, and get additional entry/exit trace.
  • $ ddtrace get librarydd tapedd - Get the trace from memory and write it to the file ddtrace.out.
  • $ ddtrace end librarydd tapedd - Stop tracing to memory.

The main use of this stand-alone utility is primarily for cases when the driver needs to be traced during the IBM Storage Protect server initialization. The ddtrace utility writes the memory buffer to the ddtrace.out file in the current directory. If the file exists, it appends to the file and does not overwrite it.