tfactl print

Use the tfactl print command to print information from the Berkeley database.

Syntax

tfactl print [status | config | directories | hosts | actions | repository | cookie

Parameters

Table J-12 tfactl print Command Parameters

Parameter Description
status

Prints the status of TFA across all nodes in the cluster, and also prints the TFA version and the port on which it is running.

config

Prints the current TFA configuration settings.

directories

Lists all the directories that TFA scans for trace or log file data, and shows the ___location of the trace directories allocated for the database, Oracle ASM, and instance.

hosts

Lists the hosts that are part of the TFA cluster, and that can receive clusterwide commands.

actions

Lists all the actions submitted to TFA, such as diagnostic collection. By default, tfactl print actions only shows actions that are running or that have completed in the last hour.

repository

Prints the current ___location and amount of used space of the repository directory. Initially, the maximum size of the repository directory is the smaller of either 10GB or 50% of available file system space. If the maximum size is exceeded or the file system space gets to 1GB or less, then TFA suspends operations and the repository is closed. Use the tfactl purge command to clear collections from the repository.

cookie

Generates and prints an identification code for use by the tfactl set command.

Example

The tfactl print config command returns output similar to the following:

Configuration parameter                                Value
------------------------------------------------------------
TFA Version                                          2.5.1.5
Automatic diagnostic collection                          OFF
Trimming of files during diagcollection                   ON
Repository current size (MB) in node1                    526
Repository maximum size (MB) in node1                  10240
Trace Level                                                1

In the preceding sample output:

  • Automatic diagnostic collection: When ON (default is OFF), if scanning an alert log, then finding specific events in those logs triggers diagnostic collection.

  • Trimming of files during diagcollection: Determines if TFA will trim large files to contain only data that is within specified time ranges. When this is OFF, no trimming of trace files occurs for automatic diagnostic collection.

  • Repository current size in MB: How much space in the repository is currently used.

  • Repository maximum size in MB: The maximum size of storage space in the repository. Initially, the maximum size is set to the smaller of either 10GB or 50% of free space in the file system.

  • Trace Level: 1 is the default, and the values 2, 3, and 4 have increasing verbosity. While you can set the trace level dynamically for the running TFA daemon, increasing the trace level significantly impacts the performance of TFA, and should only be done at the request of My Oracle Support.