Call (800) 766-1884 for Oracle support & training
Free Oracle Tips


Oracle Consulting Support
Oracle Upgrades
Use New Oracle Features
Oracle Replication Support
Oracle Training
Remote Oracle DBA
System Documentation
Oracle Tips
Oracle Performance
 

Free Oracle Tips


 

HTML Text

BC Oracle tuning

Oracle training

Oracle support

Remote Oracle

 

 

 
 

Oracle Tips by Burleson Consulting
 

Locate recently created UNIX files

The following command is useful for finding UNIX files that have been recently added to your server. Part of the job of the Oracle DBA is monitoring the background_dump_dest and the user_dump_dest for trace files, and purging trace files that are no longer required.

The following command lists all files that were created in the past two weeks:

root> find . -mtime -14 -print
.
./janet1_ora_27714.trc
./janet1_ora_27716.trc
./janet1_ora_24985.trc
./janet1_ora_24977.trc


This command can easily be expanded with the xargs or the –exec command to automatically remove the elderly trace files:

root> find . -mtime -14 -print|xargs -i rm \;


The above is an excerpt from the "Oracle UNIX Administration Handbook" by Oracle press, authored by Donald K. Burleson.

 

Download your Oracle scripts now:

www.oracle-script.com

The definitive Oracle Script collection for every Oracle professional DBA

 

 

  
 

Oracle performance tuning software 
 
 
 
 

Oracle performance tuning book

 

 
 
 
Oracle performance Tuning 10g reference poster
 
 
 
Oracle training in Linux commands
 
Oracle training Excel
 
Oracle training & performance tuning books
 

 

   

Copyright © 1996 -  2014 by Burleson. All rights reserved.

Oracle® is the registered trademark of Oracle Corporation. 

Hit Counter