Parameter

Description

Value

 

 

 

pmgr

To trace the Process

level=0 1 2 4

 

Manager.

file=name

 

 

 

 

level—Specifies the level of detail displayed in

 

 

the trace output. The default is 4.

 

 

0—Terminates the trace. 1—Is the basic level

 

 

that provides function entry and function

 

 

exit. 2—Includes level 1 plus function

 

 

arguments. 4—Enables a full trace that

 

 

provides basic diagnostic information, such as

 

 

values of internal data structures at key points

 

 

in the execution flow.

 

 

file—Specifies the name of a file where the

 

 

trace output is directed. If you do not specify a

 

 

file name, the file is created in the Sterling

 

 

Connect:Direct working directory with the file

 

 

name PMGR.TRC. The length of the name

 

 

value is unlimited.

 

 

 

smgr

To run the trace for Session

level=0 1 2 4

 

Managers created after

snode pnode tnode

 

issuing the trace command.

 

Currently executing Session

file=name

 

Managers are unaffected.

 

 

 

If you run both the comm

level—Specifies the level of detail displayed in

 

the trace output. The default is 4.

 

and smgr traces, trace

 

 

 

output for both traces is

0—Terminates the trace. 1—Is the basic level

 

directed to the file name of

 

that provides function entry and function

 

the trace last specified.

exit. 2—Includes level 1 plus function

 

 

 

 

arguments. 4—Enables a full trace that

 

 

provides basic diagnostic information, such as

 

 

values of internal data structures at key points

 

 

in the execution flow.

 

 

snode—Specifies to trace only the SNODE

 

 

SMGR.

 

 

pnode—Specifies to trace only the PNODE

 

 

SMGR.

 

 

tnode—Identifies the node on which to

 

 

perform the trace. If you want to gather trace

 

 

information for more than one node, identify

 

 

more than one node in this parameter.

 

 

file—Specifies the name of a file where the

 

 

trace output is directed. If you do not specify a

 

 

file name, the file is created in the Sterling

 

 

Connect:Direct working directory with the file

 

 

name SMGR.TRC. The length of the name

 

 

value is unlimited. The default file name is

 

 

SMGR.TRC.

 

 

 

The following sample trace command performs a level 2 trace on the Session Manager for the node called ath3500ry and writes the output to the file Smgp.trc:

Chapter 1. Controlling and Monitoring Processes 35

Page 41
Image 41
IBM 4J manual Smgr