9.3.2.2 tfactl changes

Use the tfactl changes command to view the changes detected by Oracle Trace File Analyzer.

Syntax

tfactl changes 
[-from time -to time | -for time | last time_length]

Parameters

Option Description

from time -to time

Specify the -from and -to parameters (you must use these two parameters together) to view changes that occurred during a specific time interval.

Supported time formats:

"Mon/dd/yyyy hh:mm:ss"
"yyyy-mm-dd hh:mm:ss"
"yyyy-mm-ddThh:mm:ss"
"yyyy-mm-dd"

for time

Specify the -for parameter to view the changes that occurred at the time given.

Supported time formats:

"Mon/dd/yyyy"
"yyyy-mm-dd"

-last nh|d

Specify the -last parameter to view changes for the past specific number of hours (h), or days (d).

-type

Supported values:
  • databaseParameters
  • OSParameters
  • OSPackages
  • oracleHomes
  • OracleHomePatches

Default value: all

-node

Specify the node for which you want to generate the report. Supported values: local or all.

-json

Specify to generate the report in JSON format.

Example

$ tfactl changes
Output from host : myserver69
------------------------------

Output from host : myserver70
------------------------------
Jul/26/2016 10:20:35 : Parameter 'sunrpc.transports' value changed : tcp 1048576 => udp 32768
Jul/26/2016 10:20:35 : Parameter 'sunrpc.transports' value changed : tcp 1048576 => tcp-bc 1048576

Output from host : myserver71
------------------------------
Jul/26/2016 10:21:06 : Parameter 'sunrpc.transports' value changed : tcp 1048576 => udp 32768
Jul/26/2016 10:21:06 : Parameter 'sunrpc.transports' value changed : tcp 1048576 => tcp-bc 1048576
tfactl changes -last 24h -node all -json
Generating System Changes From 05/11/2023 05:11:24.927 To 05/12/2023 05:11:24.927

{
  "snapshotTimestamp": "2023-05-12 05:11:24.000000",
  "timePeriodOfChange": "1 Days",
  "changeRecords": {
    "node1": [],
    "node2": []
  }
}
tfactl changes -last 1h -node local
Generating System Changes From 05/12/2023 04:10:43.844 To 05/12/2023 05:10:43.845

Snapshot Timestamp for Changes:2023-05-12 05:10:43.000000
Duration for Changes: 1 Hours

Change Records for host: node1
No Changes Found
tfactl changes -last 10h -node all
Generating System Changes From 05/11/2023 19:11:01.188 To 05/12/2023 05:11:01.188

Snapshot Timestamp for Changes:2023-05-12 05:11:01.000000
Duration for Changes: 10 Hours

Change Records for host: node1
===========================================
No Changes Found

Change Records for host: node2
===========================================
No Changes Found