Tracing time limit, Trace interpretation – HP Integrity NonStop J-Series User Manual

Page 215

Advertising
background image

Problem Resolution

HP NonStop AutoTMF Software User’s Guide429952-017

C-9

Tracing

Tracing to an Edit file is more efficient than the alternatives. However, an Edit file can
only have one updater, so only one process at a time can be traced to an Edit file.

Trace File Security

Some restrictions on tracing may be applied for security reasons. The global parameter
SECURETRACE is set to ON by default, which restricts tracing as described below. If
SECURETRACE is ON, the user who requests a trace must be one of:

the same user as the process access id,

the manager of the process access id, or

super.super.

To trace KEYS or DATA, the same rules apply, in additin to which the trace file must be
owned by the process access id and secured "OOOO"

If the process is privileged, the requesting user id must be super.super. This
requirement is not affected by SECURETRACE.

See

ALTER GLOBAL

on page 6-35 for a description of the SECURETRACE

parameter.

Tracing Time Limit

By default, a trace initiated with a TRACE command will be cancelled after 60 minutes.
To change this default, use the FOR option on the TRACE command. To stop the trace
before the time limit is reached, simply issue the TRACE STOP command.

Trace Interpretation

The trace is more than a diagnostic tool for finding AutoTMF problems; the trace is a
useful facility for customers to understand their program’s behavior in general. The
trace is, however, an internal tool to support problem analysis by product support
specialists. The trace format is not formally documented and is subject to change
without notice.

The trace shows a basic time line of process execution. Trace entries have a
timestamp that can be used to measure the relative elapsed time of various operations.
Beware, however, using the times as absolute costs of system operations. The tracing
activity adds overhead to the process and will lengthen the overall execution time.

The trace shows many, but not all, aspects of process execution. The trace can only
show procedures that are intercepted by the AutoTMF runtime library, such as most file
system and transaction management procedures. Procedures that are not intercepted
include process management and memory management.

Most intercepted procedures display a single line of trace, identifying the procedure
and the most important arguments.

Advertising
This manual is related to the following products: