HP UX Internet and Networking Software manual Querytracetype, Traceflags

Models: UX Internet and Networking Software

1 651
Download 651 pages 11.83 Kb
Page 568
Image 568

Administration Commands

query_trace_type

If no path is included, the file is stored in the default directory for diagnostics files, /var/opt/sna. If a path is included, this path is either a detailed path (starting with a [/] character) or a path relative to the default directory.

2.178.3 Error Return Codes

If the command cannot be executed, SNAplus2 returns a primary return code to indicate the type of error and a secondary return code to provide specific details about the reason for unsuccessful execution.

Parameter Check

No parameter errors occur for this command.

State Check

No specific state errors, other than those listed in Appendix A, Common Return Codes from snapadmin Commands, occur for this command.

Other Conditions

Appendix A, Common Return Codes from snapadmin Commands, lists combinations of primary and secondary return codes that are common to all commands.

2.179 query_trace_type

The query_trace_type command returns information about the current tracing options for SNAplus2 kernel components. For more information about tracing options, refer to HP-UX SNAplus2 Diagnostics Guide.

This command does not return information about DLC line tracing. To obtain information about DLC line tracing, use the query_dlc_trace command.

This command must be issued to a running node.

2.179.1 Supplied Parameters

[query_trace_type]

No parameters are supplied for this command.

2.179.2 Returned Parameters

Parameter name

Type

trace_flagsconstant

truncation_length decimal

If the command executes successfully, SNAplus2 returns the following parameters:

trace_flags

The types of tracing currently active. For more information about these trace types, refer to HP-UX SNAplus2 Diagnostics Guide.

If tracing is set for all types, one of the following values is returned:

NONE

568

Page 568
Image 568
HP UX Internet and Networking Software manual Querytracetype, Traceflags