Veritas-bu

[Veritas-bu] Last media written

2002-02-12 11:58:35
Subject: [Veritas-bu] Last media written
From: David A. Chapa" <david AT xbpadm-commands DOT com (David A. Chapa)
Date: Tue, 12 Feb 2002 08:58:35 -0800 (PST)
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

<Prev in Thread] Current Thread [Next in Thread>
  • [Veritas-bu] Last media written, tobias.maurer AT pharma.novartis DOT com
    • [Veritas-bu] Last media written, <david AT xbpadm-commands DOT com (David A. Chapa) <=