WELCOME ON BOARD - ORACLE
Thursday, February 25, 2010
Script to Delete Trace Files
Description:
Below script can be used to delete trace files older than 15 days.
Script:
#/usr/bin/sh!
TRACE_TOKEEP=15
TDUMP_DIR=
find $TDUMP_DIR -name "*.trc" -mtime +$TRACE_TOKEEP -exec rm -f {} \;
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment