User Tools

Site Tools


wiki:cleanup_diag_folder

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
wiki:cleanup_diag_folder [2024/07/23 10:12] – created wagner.jerwiki:cleanup_diag_folder [2024/07/23 10:15] (current) wagner.jer
Line 11: Line 11:
 <cli type=dos>set PATH=%ORACLE_HOME%\perl\bin;%PATH%</cli> <cli type=dos>set PATH=%ORACLE_HOME%\perl\bin;%PATH%</cli>
  
-Once oracle home is set, you can start ADRCI+  * Once oracle home is set, you can start ADRCI
 <cli type=dos>C:\Windows\system32>adrci <cli type=dos>C:\Windows\system32>adrci
  
Line 19: Line 19:
  
 ADR base = "C:\oracle"</cli> ADR base = "C:\oracle"</cli>
-Check if home path is properly set+  * Check if home path is properly set
 <cli type=dos>adrci> show home <cli type=dos>adrci> show home
 ADR Homes: ADR Homes:
-diag\clients\xxx\host_2998225502_110 
-diag\clients\xxx\host_2998225502_110 
-diag\clients\xxx\host_2998225502_110 
 diag\clients\xxx\host_2998225502_110 diag\clients\xxx\host_2998225502_110
 diag\rdbms\xxx\xxx diag\rdbms\xxx\xxx
 diag\tnslsnr\servername\xxx</cli> diag\tnslsnr\servername\xxx</cli>
-If you have multiple home path set, you'll have to specify the one that you want to cleanup. Look in the folder where are the diag files that need to be removed. It should be in the rdbms or the tnslsnr+  * If you have multiple home path set, you'll have to specify the one that you want to cleanup. Look in the folder where are the diag files that need to be removed. It should be in the rdbms or the tnslsnr
 <cli type=dos>adrci> set homepath diag\rdbms\xxx\xxx</cli> <cli type=dos>adrci> set homepath diag\rdbms\xxx\xxx</cli>
-Once the home path is set, you can use the purge command to cleanup the diag files where -age is specified in minutes and - type is the type of diag files that needs to be cleaned up (incident, alert, trace ... ) +  * Once the home path is set, you can use the purge command to cleanup the diag files where -age is specified in minutes and - type is the type of diag files that needs to be cleaned up (incident, alert, trace ... ) 
 <cli type=dos>adrci> purge -age 20160 -type incident</cli> <cli type=dos>adrci> purge -age 20160 -type incident</cli>
  
wiki/cleanup_diag_folder.1721729540.txt.gz · Last modified: by wagner.jer

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki