Hello all,

Has anyone made use of the script below to calculate utilized space?

http://people.mn.mediaone.net/scottrmcleod/diskspce.txt

I am having trouble determining how to customize it to make it work.  I have
changed a few things in the script that I know needed to be changed to work in
our environment here, but I don't understand what is needed in the section of
the script I am including below:

#------------------------------------------------------------------------------#
#--  Loop through each itteration of a local database name.                  --#
#------------------------------------------------------------------------------#
ALL_DB_ERRORS=false
. get.instance.names
for DB2INST in $DB2ILIST
do
   . /db2_6000/$DB2INST/sqllib/db2profile >/dev/null 2>&1
   echo "\nStarting Instance $DB2INST, Path $DB2IPATH"
   .attach.to.instance
   . get.database.names
   ERRORS=false
   for DBNAME in $LOCDBNAMES
   do
      RPTFILE="$DB2IPATH/spacereports/`echo $DBNAME | tr [':upper:']
[':lower:']` \

What are/where are the get.instance.names, attach.to.instance,
get.database.names routines, or are these just like comments where someone more
script
savvy knows to substitute other commands?!  Can anyone point me in the right
direction?!

Many thanks,
Judy



=====
To unsubscribe, send 'unsubscribe' to [EMAIL PROTECTED]
For other info (and scripts), see http://people.mn.mediaone.net/scottrmcleod

Reply via email to