HP X.25/9000 User's Guide HP-UX 11i v3 (5900-1523, August 2011)
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.
NOTE: 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
• X25TUN kernel module, mod should have a value of 2506
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 x25_1, the sub would be 49 (48 + 1 = 49). See the
table below for more examples of the codes to be used for specific interfaces.
Table 35 Single-port subnet interface codes
Sub code (decimal)Calculation (hexadecimal)Card
4830 + 0 = 30First card = 0 (x25_0)
4930 + 1 = 31Second card = 1 (x25_1)
5030 + 2 = 32Third card = 2 (x25_2)
For dual-port cards, the sub code is the decimal equivalent to the four-digit hexadecimal composite
of the place holder code (70) + the card instance number + 30. The example below shows the
calculation for the interface defined by the device file x25_0p1.
strace 125










