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: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to