oracle-l-bounce@xxxxxxxxxxxxx wrote on 09/03/2004 07:43:36 AM: > Bryan, > > I keep them for 15 days and then delete them. I use the following to clean > them up: > > find $UDUMP_DIR -mtime +15 -print -exec rm {} \; > > The $UDUMP_DIR is an environmental pointing to the udump directory. I do > the same thing in the Bdump directory (renaming the alert log with a date > included in the file name). I keep files up to 30 days in this directory. > Be sure to do some sanity checks on the $UDUMP var before running the find. And for goodness sakes, stop using -exec and use xargs: find $UDUMP_DIR -mtime +15 -print | xargs rm *Much* less CPU/memory intensive. Jared -- To unsubscribe - mailto:oracle-l-request@xxxxxxxxxxxxx&subject=unsubscribe To search the archives - //www.freelists.org/archives/oracle-l/