Starting An Interactive Ptrace Session; Device Type; Ptrace Commands - HP T9576G06 Management Manual

Snmp configuration and management manual
Table of Contents

Advertisement

SNMP Agent PTrace Facility
ptrace-command
is a PTrace command that is to be executed immediately after PTrace is initiated
(such as the SELECT command, described on 6-10). If you specify one or more
PTrace commands in the RUN command, PTrace executes the commands and
then issues its prompt. If PTrace encounters an error in a command, it terminates
immediately.
In the following example, the TACL RUN command instructs PTrace to read its
commands from a file called PTRACE.FIRSTRUN and to write its display output to a
file called PTRACE.FIRSTOUT. The NOWAIT option allows TACL to resume control of
the session while PTrace is executing.
PTRACE/IN PTRACE.FIRSTRUN, OUT PTRACE.FIRSTOUT, NOWAIT/

Starting an Interactive PTrace Session

To start PTrace interactively, enter PTRACE at the TACL or SCF prompt. PTrace
displays its product banner, followed by its prompt, the question mark (?). When you
are finished using PTrace, enter the EXIT command to return to TACL or SCF.

Device Type

When a trace file is created, the type of the device being traced is recorded in that file.
When PTrace opens the trace file, it uses this information to determine the subsystem
for which it is formatting records.
The device type for the NonStop agent process is 31.

PTrace Commands

The PTrace commands provide options for selecting trace records for display. You can
suppress these records that do not relate to the problem you are investigating. The
PTrace commands also provide options for specifying the way in which the trace
records are formatted.
Although PTrace provides a common set of commands for displaying trace records, not
all PTrace commands are supported by each subsystem due to the structure of the
PTrace code.
SNMP Configuration and Management Manual—424777-006
Starting an Interactive PTrace Session
6 -4

Advertisement

Table of Contents
loading

This manual is also suitable for:

T9576h01

Table of Contents