NOTE

Tracing and Logging Utilities

strace

strace

The strace command collects logging event messages from X.25 level 3 and X.25 level 2 STREAMS modules and writes them to standard output. strace runs until terminated by the user. See the man pages for strace(1) for a more detailed description.

Running strace with several sets of arguments can impair STREAMS performance. Also, some messages may be lost if too many are logged at one time.

HP recommends that you run strace as a background process with output directed to a file.

Only one process can run the STREAMS log driver at a time.

Syntax

strace [mod sub pri] ...

Parameters

 

mod

Specifies the STREAMS module identifier for:

 

• X.25 level 3, mod should have a value of 200

 

• X.25 level 2, mod should have a value of 201

 

• X.25 level 1, mod should have a value of 210

 

• IP over X.25, mod should have a value of 208

 

• BSD over X.25, mod should have a value of 2503

sub

X.25 subnetwork identifier. Use all the first time to

 

get subnetwork identifiers (afterwards, you can enter

 

the identifier for a specific subnetwork/interface).

 

For single-port cards, the code for the sub option is the

 

decimal equivalent of 30 + n (both expressed in

 

hexadecimal), where n is the card instance number. For

 

example, for the interface defined by the device file

Chapter 7

187