1.11 Oracle Trace File Analyzer Command-Line and Shell Options

The tfactl tool functions as a command-line interface, shell interface, and menu interface.

Table 1-3 Oracle Trace File Analyzer Interfaces

Interface Command How to use

Command-line

$ tfactl command

Specify all command options at the command line.

Shell interface

$ tfactl

Set and change the context and then run commands from within the shell.

Menu Interface

$ tfactl menu

Select the menu navigation options and then choose the command that you want to run.

Using tfactl, you can:

  • Run administration commands
  • Collect diagnostic data
  • Analyze diagnostic data collection
Running tfactl commands depends upon the level of access you have to tfactl. Run the administration commands as root or sudo. Or, run a subset of commands as:
  • An Oracle Database home owner or Oracle Grid Infrastructure home owner.
  • A member of OS DBA or ASM groups.

To grant other users access to tfactl:

tfactl access
To use tfactl as a command-line tool:
tfactl [command][options]
To use tfactl as a shell interface, enter tfactl, and then run the commands as needed:
$ tfactl
tfactl>
Append the -help option to any of the tfactl commands to obtain command-specific help.
$ tfactl [command] -help