HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
QUERY_TRACE_FILE
unsigned char trace_file_type; /* type of trace file */
unsigned char dual_files; /* dual trace files */
AP_UINT32 trace_file_size; /* trace file size */
unsigned char reserv3[4]; /* reserved */
unsigned char file_name[81]; /* file name */
unsigned char file_name_2[81]; /* second file name */
} QUERY_TRACE_FILE;
3.167.2 Supplied Parameters
The application supplies the following parameters:
opcode
AP_QUERY_TRACE_FILE
trace_le_type
The type of trace le. Possible values are:
AP_CS_TRACE
File contains tracing on data transferred across the SNAplus2 LAN between the specied computer and
other nodes (activated by the SET_CS_TRACE verb).
AP_BCK_CS_TRACE
File contains tracing on data transferred across the SNAplus2 LAN between a current-level server and
back-level computers (activated by the SET_BCK_CS_TRACE verb).
AP_TN_SERVER_TRACE
File contains tracing on the SNAplus2 TN server component.
AP_IPS_TRACE
File contains tracing on kernel components for the specied node (activated by the SET_TRACE_TYPE
or ADD_DLC_TRACE verb).
3.167.3 Returned Parameters: Successful Execution
If the verb executes successfully, SNAplus2 returns the following parameters:
primary_rc
AP_OK
secondary_rc
Not used.
dual_les
Species whether tracing is to one le or to two les. Possible values are:
AP_YES
Tracing is to two les. When the rst le reaches the size specied by trace_le_size, the second
le is cleared, and tracing continues to the second le. When this le then reaches the size specied
by trace_le_size, the rst le is cleared, and tracing continues to the rst le. This ensures that
tracing can continue for long periods without using excessive disk space; the maximum space required
is approximately twice the value of trace_le_size.
AP_NO
Tracing is to one le.
691