AUXTR - Auxiliary Trace
AUXTR, or Auxiliary Trace, is a comprehensive system-wide tracing facility within z/OS that records significant system events, including program execution flow, SVC calls, I/O operations, and dispatcher activity. It is primarily used by system programmers and support personnel for in-depth problem diagnosis and performance analysis of the operating system and its components.
Key Characteristics
-
- System-Wide Scope: Unlike component-specific traces, AUXTR captures events across the entire z/OS system, providing a holistic view of system activity.
- Event Recording: It records various system events such as
SVC(Supervisor Call) entries and exits,Program Interrupts,I/Ooperations,Dispatchingevents, andBranchingactivity. - Output Destination: Trace records are typically written to the
Generalized Trace Facility (GTF)data sets, which are then processed offline. It can also be directed to internal buffers. - Control via
TRACE CT: AUXTR is controlled using the z/OSTRACE CToperator command, allowing dynamic activation, deactivation, and modification of trace options. - Performance Impact: Due to its extensive data collection, enabling AUXTR can introduce significant CPU overhead and I/O activity, potentially impacting system performance.
- Authorization Required: Activating or modifying AUXTR requires appropriate operator console authority or
RACFauthorization.
Use Cases
-
- Diagnosing System Hangs or Loops: Analyzing the trace data can reveal which programs or system services are stuck in a loop or causing a system-wide hang.
- Troubleshooting Performance Degradation: Identifying bottlenecks by examining
I/Oactivity,SVCcalls, and dispatcher wait times during periods of poor performance. - Debugging Complex Inter-Component Issues: Tracing the interactions between different z/OS components or subsystems to pinpoint the source of an elusive problem.
- Analyzing Specific System Events: Capturing detailed information about specific types of
SVCs,Program Interrupts, orI/Ooperations to understand their frequency and context. - Post-Mortem Analysis: Providing critical diagnostic data for
dumpsor system failures when other diagnostic tools are insufficient.
Related Concepts
AUXTR is a core part of the z/OS System Trace facility, which also includes Branch Trace, Instruction Trace, SVC Trace, and I/O Trace. It often writes its output to GTF (Generalized Trace Facility) data sets, which act as a central repository for various system and component traces. The collected GTF data is then typically analyzed using IPCS (Interactive Problem Control System) to format and interpret the trace records. While Component Trace (CTRACE) focuses on specific software components, AUXTR provides a broader, system-level perspective.
- Enable Judiciously: Only activate AUXTR when necessary for problem diagnosis, as its performance impact can be substantial.
- Limit Scope: If possible, use
TRACE CToptions to limit the types of events traced (e.g., specificASIDs,SVCnumbers) to reduce overhead and data volume. - Monitor Performance: Continuously monitor system performance metrics (CPU, I/O) while AUXTR is active to ensure it doesn't exacerbate existing problems.
- Ensure GTF Capacity: Configure
GTFwith sufficient buffer space and appropriate data set sizes to prevent trace data loss orGTFperformance issues. - Disable Promptly: Deactivate AUXTR as soon as the necessary diagnostic data has been collected to minimize its impact on the production environment.
- Use IPCS for Analysis: Leverage
IPCScommands andGTFtrace formatting options to effectively analyze the voluminous trace data and extract meaningful insights.