Tracing, Checking the state of the monitor and mapdb, Checking the state of the application programs – HP Integrity NonStop H-Series User Manual
Page 205: Checking for locks

Problem Resolution
HP NonStop AutoTMF Software User’s Guide—429952-013
C-7
Tracing
parameters. Some attributes can be specified with DEFINEs. If a prepared program
does not behave as expected, first check configuration parameters.
To list the values of system wide parameters, use the CI command
To change any global parameter, use
.
To list the NonStop AutoTMF software configuration for selected audited files
(SEPARATEX, COMMONTX, and so on), use
. To configure files,
.
To list the NonStop AutoTMF software configuration for selected programs, use
. To configure programs, use
To verify if a specific DEFINE has been added for a program, look at a trace of the
program’s execution. All active DEFINEs are listed in the output of the trace.
Checking the State of the Monitor and MapDB
The monitor process must be up at all times. To check on the status of the monitor, use
the
command to display the monitor’s vital statistics.
To look at the configuration of the MapDB, use the
command.
Checking the State of the Application Programs
A program that has not been prepared will run without warnings until the program
accesses an audited file without having an active transaction. The operation will then
fail with an error 75. To verify that a program is properly prepared, use the
command. To display a list of unprepared programs, issue the command
on a file-set using the UNPREPARED option.
To find out who is using the runtime library, use the
command. This
command displays all the processes that have the library opened, including the CI from
which the command is issued.
Checking for Locks
Locking of audited files is different than locking of non-audited files. This could
introduce concurrency problems. To display the locks held for a file, a file set, or the
entire system, use the CI
(or LL) command. Use the DEADLOCK
option of the command to display deadlocks.
Tracing
NonStop AutoTMF software offers a comprehensive set of tracing options. Virtually all
file system and TMF operations performed by a program can be traced along with the
data that is read and written by the program. Tracing also displays the active DEFINEs,
assigns, the startup message, and process termination messages.