Quantcast
Channel: Database Administration Tips
Viewing all articles
Browse latest Browse all 214

Script to TRACE Oracle Session

$
0
0
I'm sharing with you today two shell scripts will help you easily trace an Oracle session and get a readable output trace file.

The first script start_tracing.sh will let you identify the session you want to trace.


The second script stop_tracing.sh will let you stop tracing the session and will provide you the original trace file plus another readable version of the original one has been processed using TKPROF utility.


You can download the scripts from here:


start_tracing.sh

https://www.dropbox.com/s/nvhefxlrr4w254g/start_tracing.sh?dl=0

stop_tracing.sh

https://www.dropbox.com/s/xp2hwgbb0xrggmq/stop_tracing.sh?dl=0

Also you can visit and download the whole DBA bundle that includes these two scripts plus many other smart and easy to use scripts for database administration tasks:
http://dba-tips.blogspot.ae/2014/02/oracle-database-administration-scripts.html

DISCLAIMER: THIS SCRIPT IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT WITHOUT ANY WARRANTY. IT IS PROVIDED "AS IS".

Here are the codes in case the download links are not working with you:


start_tracing.sh


stop_tracing.sh

Viewing all articles
Browse latest Browse all 214

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>