[Veritas-bu] Last media written
2002-02-12 11:58:35
try this:
bpimagelist -d $SDATE -e $EDATE -media | tail +3 |
while read id rest
do
vmquery -m $id -bx | tail +4 | while read \
var1 var2 var3 rest2
do
if [ "$var3" != "NONE" ];then
echo $id $rest >> mediawritteninrobo.outp
fi
done
done
That should work for you.
David
Quoting tobias.maurer AT pharma.novartis DOT com:
> Hi All,
>
> Can somebody help me to find the command to output a
file with the
> information from all tapes in the robo which have
been written on a special
> day ???
>
> Thanks
> fro the help
> Tobias
>
> _______________________________________________
> Veritas-bu maillist - Veritas-
bu AT mailman.eng.auburn DOT edu
>
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-
bu
>
<><><><><><><><><><><><><><><><><><><><>
David A. Chapa
Consulting Manager
DataStaff, Inc.
847 413 1144
http://www.consulting.datastaff.com
---------------------------------------
http://www.xbpadm-commands.com
NBU-LSERV AT datastaff DOT com - Adv. Scripting
|
|
|