How to collect required logs using TFACTL for Oracle SR.
If we know the ORA -error then collect like below.
tfactl diagcollect -srdc ORA-<Num>
It will ask for database name, provide the same and it will list out occurrences. select the required time frame of the error message.
Example:
tfactl diagcollect -srdc ORA-00600
If we don't know the ORA error and want to collect from time to time.
tfactl diagcollect -from "yyyy-mm-dd hh:mm:ss" -to "yyyy-mm-dd hh:mm:ss"
Example:
tfactl diagcollect -from "2019-09-11 23:00:00" -to "2019-09-12 03:35:00"
Comments
Post a Comment