This section enables you to manage Oracle Database and Oracle Grid Infrastructure diagnostic data and disk usage snapshots.
managelogs
command to manage Automatic Diagnostic Repository log and trace files.tfactl
commands to manage Oracle Trace File Analyzer disk usage snapshots.tfactl
commands to manage log file purge policy for Oracle Trace Analyzer log files.Use the managelogs
command to manage Automatic Diagnostic Repository log and trace files.
The -purge
command removes files managed by Automatic Diagnostic Repository (Files are cleared from “ALERT
”, "INCIDENT
", "TRACE
", "CDUMP
", "HM
", "UTSCDMP
", "LOG
" under diagnostic destinations) and provides details about the change in the file system space.
For diagnostic destinations where there are large numbers of files the command might take a while. Check the removal in progress from corresponding directories.
You must have operating system privilege over corresponding diagnostic destinations to remove the files.
To manage Automatic Diagnostic Repository log and trace files:
Related Topics
Use tfactl
commands to manage Oracle Trace File Analyzer disk usage snapshots.
Oracle Trace File Analyzer automatically monitors disk usage, records snapshots, and stores the snapshots under tfa/repository/suptools/node/managelogs/usage_snapshot/.
By default, the time interval between snapshots is 60 minutes.
To manage disk usage snapshots:
Use these tfactl
commands to manage log file purge policy for Oracle Trace Analyzer log files.
Automatic purging is enabled by default on a Domain Service Cluster (DSC), and disabled by default elsewhere. When automatic purging is enabled, Oracle Trace File Analyzer runs an automatic purge every 60 minutes of logs that are older than 30 days.
To purge Oracle Trace File Analyzer logs automatically: