STRACE Overview

STRACE uses software trace hooks to collect data. Trace hooks are identified by both a major code and a minor code. Major code 1 is reserved for exclusive use by IBM. Major codes 0x00b8 (184) and 0x00b9 (185) have been reserved for customer use. A listing of major and minor codes associated with OS/2 Warp Server for SMP can be found in System Trace Hook Definitions.

For major codes other than 0x00b8 and 0x00b9 mentioned above, the user identifies the major codes to be traced with the TRACE command.

To turn tracing on for events with major codes of 0x0002, 0x0013, and 0x0042:

  TRACE ON 2 19 66

Note: The TRACE command requires decimal arguments.