Analyzing Logs Using the Oracle Database Support Tools

The Oracle Database support tools bundle is available only when you download Oracle Trace File Analyzer from My Oracle Support note 2550798.1.

Oracle Trace File Analyzer with Oracle Database support tools bundle includes the following tools:

Tools Included in Linux and UNIX

ToolDescription
orachk or exachk

Provides health checks for the Oracle stack.

Oracle Autonomous Health Framework installs either Oracle EXAchk for engineered systems or Oracle ORAchk for all non-engineered systems.

For more information, see My Oracle Support notes 1070954.1 and 2550798.1.

oswatcher (oswbb)

Collects and archives operating system metrics. These metrics are useful for instance or node evictions and performance Issues.

For more information, see My Oracle Support note 301137.1.

procwatcher (prw)

Automates and captures database performance diagnostics and session level hang information.

For more information, see My Oracle Support note 459694.1.

oratop

Provides near real-time database monitoring.

For more information, see My Oracle Support note 1500864.1.

alertsummaryProvides summary of events for one or more database or Oracle ASM alert files from all nodes.
lsLists all files that Oracle Trace File Analyzer knows about for a given file name pattern across all nodes.
pstackGenerates the process stack for the specified processes across all nodes.
grepSearches for a given string in the alert or trace files with a specified database.
summaryProvides high-level summary of the configuration.
viOpens alert or trace files for viewing a given database and file name pattern in the vi editor.
tailRuns a tail on an alert or trace files for a given database and file name pattern.
paramShows all database and operating system parameters that match a specified pattern.
historyShows the shell history for the tfactl shell.
changesReports changes in the system setup over a given time period. The report includes database parameters, operating system parameters, and the patches that are applied.
calogReports major events from the cluster event log.
eventsReports warnings and errors in the logs.
managelogsShows disk space usage and purges Automatic Diagnostic Repository (ADR) log and trace files.
psFinds processes.
triageSummarizes oswatcher or exawatcher data.

Tools Included in Microsoft Windows

ToolDescription
calogReports major events from the cluster event log.
changesReports changes in the system setup over a given time period. The report includes database parameters, operating system parameters, and patches applied.
dirLists all files Oracle Trace File Analyzer knows about for a given file name pattern across all nodes.
eventsReports warnings and errors seen in the logs.
findstrSearches for a given string in the alert or trace files with a specified database.
historyShows the shell history for the tfactl shell.
managelogsShows disk space usage and purges ADR log and trace files.
notepadOpens alert or trace files for viewing a given database and file name pattern in the notepad editor.
paramShows all database and operating system parameters that match a specified pattern.
summaryProvides high-level summary of the configuration.
tasklistFinds processes.

To verify which tools you have installed:

$ tfactl toolstatus

You can run each tool using tfactl either in command line or shell mode. To run a tool from the command line:

$ tfactl run tool

The following example shows how to use tfactl in shell mode. Running the command starts tfactl, connects to the database MyDB, and then runs oratop:

$ tfactl
tfactl > database MyDB
MyDB tfactl > oratop

For more information, see: