Veritas-bu

[Veritas-bu] Monitoring perfomance at the buffer level

2004-08-12 10:08:57
Subject: [Veritas-bu] Monitoring perfomance at the buffer level
From: ewilts AT ewilts DOT org (Ed Wilts)
Date: Thu, 12 Aug 2004 09:08:57 -0500
On Thu, Aug 12, 2004 at 02:08:13PM +0100, Dave Markham wrote:
> I must apologize i hadnt tested properly. the -y function takes 1 off 
> the year bit of date not the day. Sorry ill fix

[massive snipping of irrelevant messages]

Just add the following snippet to the script right after the policy=$1
line:

if [ -z $2 ]
then
  today=`date +%m%d%y`
else
  today=$2
fi
echo "Using /usr/openv/netbackup/logs/bptm/log.$today"


This lets you pass in an arbitrary date as the second parameter.

        .../Ed
-- 
Ed Wilts, Mounds View, MN, USA
mailto:ewilts AT ewilts DOT org