Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: measuring TPM
I now have a cronjob which runs hourly which contains:
#!/usr/bin/ksh
SID=MWH
HOST=`uname -n`
. /u01/home/oracle/oracle.${HOST}.${SID}.env
ACCESS=`cat /home/oramwh/sql/ctrl/${SID}/bcm`
sqlplus << EOF
${ACCESS}
set pause off echo on term on verify on serveroutput on
insert into sysstats select sysdate, name, value
from v\$sysstat
where statistic# in (43,37, 132, 0,2,39,40,92,91,113,114,4,5)
/
exit
EOF
exit
This should allow me to dazzle them with numbers!
THANKS folks!
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author:
INET: Charlie_Mengler_at_HomeDepot.com
Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services ---------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Wed Jan 28 2004 - 13:24:36 CST