|
|
| |
 |
|
Oracle Tips by Burleson Consulting
|
The sacd sa1 report
One of the most popular sadc reports is sa1. Here is a Bourne shell
script that is commonly submitted as the root user to capture server
details.
#! /usr/bin/sh
# @(#) $Revision: 72.3 $
# sa1.sh
DATE=`date +%d`
ENDIR=/usr/lbin/sa
DFILE=/var/adm/sa/sa$DATE
cd $ENDIR
if [ $# = 0 ]
then
exec $ENDIR/sadc 1 1 $DFILE
else
exec $ENDIR/sadc $* $DFILE
fi
 |
For more details and scripts, see my new book "
Oracle
Tuning: The Definitive Reference", over 900 pages
of BC's favorite tuning tips & scripts.
You can buy it direct from the publisher for 30%-off and get
instant access to the code depot. |
|
|
|
|