Technical data

4
CTF Commands
This chapter provides a detailed description of each of the CTF commands and its
qualifiers.
Table 4–1 lists the available CTF commands.
Table 4–1 Summary of CTF Commands
Command Description
ANALYZE Displays the trace records in a trace file, and specifies the format of
this display (for both live and detached tracing).
ATTACH Transfers control to another process.
BACK Displays the previous screen of trace data.
CLEAR Clears the screen of trace data.
COLLECT Collects trace records generated during a /NOCOLLECT session into a
trace file.
DEFINE/KEY Associates a command with a key on the keyboard.
DELETE/KEY Deletes the key definitions you have defined.
EXIT Stops the TRACE utility.
HELP Displays on-line help about CTF commands.
REFRESH Redraws the screen.
SHOW KEY Displays the key definitions for your keyboard.
SPAWN Creates a subprocess of the current process.
START Starts live or detached tracing at specified tracepoints.
STOP Stops tracing at specified tracepoints.
4.1 Using the CTF Keypad
A number of keys on your keyboard are set up to provide a quick way to enter
certain frequently used CTF commands. You can either use the default keypad
definitions set up when CTF is installed, or you can use the DEFINE/KEY
command to set up your own definitions. See Table 3–2 for a description of the
default keypad definitions.
CTF Commands 4–1