beautypg.com

Trace – HP Integrity NonStop J-Series User Manual

Page 160

background image

NonStop AutoTMF Commands

HP NonStop AutoTMF Software User’s Guide429952-016

6-84

TRACE

TRACE

Traces the activity of prepared programs.

If dynamic tracing is enabled, which is the default, the runtime periodically checks a
signal file for a tracing request, at the point when it intercepts calls to READUPDATE
on $RECEIVE, and all forms of KEYPOSITION, OPEN, DELAY, READ, WRITEREAD
calls and SERVERCLASS_SEND_.

If dynamic trace is not enabled, the trace is initiated when a prepared process
initializes its Escort segment and asks the Monitor for global information.

To configure dynamic tracing for all prepared programs, use the global parameter
DYNAMICTRACE. To override the global setting for a program, set the

=_ESCORT_DYNAMIC_TRC_OFF

or

=_ESCORT_DYNAMIC_TRC_ON

define.

To prevent unauthorized access, the user ID that traces a program must be authorized
to execute the program. This is controlled with the global parameter SECURETRACE
which is ON by default. To remove the security constraint on tracing program
execution, set SECURETRACE to OFF. Note that the setting of SECURETRACE does
not affect the tracing of data or key data, which always requires that the user be
authorized to execute the program, regardless of the setting of SECURETRACE..

TRACE [ trace-index ] [ traced-entity ]

TO {tracefile }
[, process-specs]
[, option];

or

TRACE [ trace-index | * ] STOP;

traced-entity is

{ EXEC[UTION]

}

{

}

{ KEYS

}

{

}

{ DATA

}

process-specs is

{ PROGRAM { object-file-name | fileset }}
{

}

{ PROCESS { process-name | process-namelist | * }}
{

}

{ PROCESS { cpu,pin }

}

{

}

{ PROCESS { cpu,* }

}


continued

This manual is related to the following products: