cd $ORACLE_BASE or $GRID_BASE
find . -name "evmlog.*" -mtime +15 -exec rm -f {} \;
find . -name "+ASM*.trc*" -mtime +15 -exec ls -ltr {} \;
find . -name "evmlog.*" -mtime +15 -exec rm -f {} \;
find . -name "*.xml" -mtime +10 -exec ls -ltr {} \;
find . -name "ora_*.trc*" -mtime +15 -exec rm -f {} \;
find . -name "+ASM_ora*.aud*" -mtime +15 -exec rm -f{} \;
Command to list files by their size :
ls -l | sort -k 5 -rn
No comments:
Post a Comment