[Veritas-bu] How to filter media via their expiration date ?
2002-05-10 11:58:28
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C1F83B.86724840
Content-Type: text/plain
If you mean "expired" in the sense of "empty of images and now reusable"
it's this:
/usr/openv/volmgr/bin/vmquery -a -w | awk 'NR>3 && $3!~/CLN/ &&
$20=="00/00/0000" {print $1}'
If you mean "expired" in the media-manager sense:
This is expired due to media counts exceeding the preset limit:
vmquery -a -w | awk 'NR>3 && $16>0 && $15>=$16 {print$1}'
The expiration due to tape age is pretty hard. I'll post it if I get it
worked out...
-Mark
-----Original Message-----
From: laila aloui [mailto:aloui_laila AT yahoo DOT com]
Sent: Friday, May 10, 2002 3:10 AM
To: Donaldson, Mark; veritas-bu AT mailman.eng.auburn DOT edu
Subject: RE: [Veritas-bu] How to filter media via their expiration date
?
What i want is : how can i have all media id of tapes
that are expired.
--- "Donaldson, Mark" <Mark.Donaldson AT experianems DOT com>
wrote:
> Can you supply a little more detail? Filter expired
> media from what output
> or report?
>
> -Mark
>
> -----Original Message-----
> From: laila aloui [mailto:aloui_laila AT yahoo DOT com]
> Sent: Thursday, May 09, 2002 11:33 AM
> To: veritas-bu AT mailman.eng.auburn DOT edu
> Subject: [Veritas-bu] How to filter media via their
> expiration date ?
>
>
>
> HI,
>
> is there a command line to filter media id which are
> expierd?
>
> thanks in advance
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Shopping - Mother's Day is May 12th!
> http://shopping.yahoo.com
> _______________________________________________
> Veritas-bu maillist -
> Veritas-bu AT mailman.eng.auburn DOT edu
>
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
>
__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Mother's Day is May 12th!
http://shopping.yahoo.com
------_=_NextPart_001_01C1F83B.86724840
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3DUS-ASCII">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>RE: [Veritas-bu] How to filter media via their expiration date =
?</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2>If you mean "expired" in the sense of =
"empty of images and now reusable" it's this:</FONT>
</P>
<P><FONT SIZE=3D2>/usr/openv/volmgr/bin/vmquery -a -w | awk 'NR>3 =
&& $3!~/CLN/ && $20=3D=3D"00/00/0000" {print =
$1}'</FONT>
</P>
<P><FONT SIZE=3D2>If you mean "expired" in the media-manager =
sense:</FONT>
</P>
<P><FONT SIZE=3D2>This is expired due to media counts exceeding the =
preset limit:</FONT>
<BR><FONT SIZE=3D2>vmquery -a -w | awk 'NR>3 && $16>0 =
&& $15>=3D$16 {print$1}' </FONT>
</P>
<P><FONT SIZE=3D2>The expiration due to tape age is pretty hard. =
I'll post it if I get it worked out...</FONT>
</P>
<P><FONT SIZE=3D2>-Mark</FONT>
</P>
<BR>
<BR>
<BR>
<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: laila aloui [<A =
HREF=3D"mailto:aloui_laila AT yahoo DOT com">mailto:aloui_laila AT yahoo DOT
com</A>]<=
/FONT>
<BR><FONT SIZE=3D2>Sent: Friday, May 10, 2002 3:10 AM</FONT>
<BR><FONT SIZE=3D2>To: Donaldson, Mark; =
veritas-bu AT mailman.eng.auburn DOT edu</FONT>
<BR><FONT SIZE=3D2>Subject: RE: [Veritas-bu] How to filter media via =
their expiration date</FONT>
<BR><FONT SIZE=3D2>?</FONT>
</P>
<BR>
<BR>
<P><FONT SIZE=3D2> What i want is : how can i have all media id of =
tapes</FONT>
<BR><FONT SIZE=3D2>that are expired.</FONT>
</P>
<BR>
<P><FONT SIZE=3D2>--- "Donaldson, Mark" =
<Mark.Donaldson AT experianems DOT com></FONT>
<BR><FONT SIZE=3D2>wrote:</FONT>
<BR><FONT SIZE=3D2>> Can you supply a little more detail? Filter =
expired</FONT>
<BR><FONT SIZE=3D2>> media from what output</FONT>
<BR><FONT SIZE=3D2>> or report?</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> -Mark</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> -----Original Message-----</FONT>
<BR><FONT SIZE=3D2>> From: laila aloui [<A =
HREF=3D"mailto:aloui_laila AT yahoo DOT com">mailto:aloui_laila AT yahoo DOT
com</A>]<=
/FONT>
<BR><FONT SIZE=3D2>> Sent: Thursday, May 09, 2002 11:33 AM</FONT>
<BR><FONT SIZE=3D2>> To: veritas-bu AT mailman.eng.auburn DOT edu</FONT>
<BR><FONT SIZE=3D2>> Subject: [Veritas-bu] How to filter media via =
their</FONT>
<BR><FONT SIZE=3D2>> expiration date ?</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> HI,</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> is there a command line to filter media id =
which are</FONT>
<BR><FONT SIZE=3D2>> expierd?</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> thanks in advance</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> =
__________________________________________________</FONT>
<BR><FONT SIZE=3D2>> Do You Yahoo!?</FONT>
<BR><FONT SIZE=3D2>> Yahoo! Shopping - Mother's Day is May =
12th!</FONT>
<BR><FONT SIZE=3D2>> <A HREF=3D"http://shopping.yahoo.com" =
TARGET=3D"_blank">http://shopping.yahoo.com</A></FONT>
<BR><FONT SIZE=3D2>> =
_______________________________________________</FONT>
<BR><FONT SIZE=3D2>> Veritas-bu maillist - </FONT>
<BR><FONT SIZE=3D2>> Veritas-bu AT mailman.eng.auburn DOT edu</FONT>
<BR><FONT SIZE=3D2>></FONT>
<BR><FONT SIZE=3D2><A =
HREF=3D"http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu" =
TARGET=3D"_blank">http://mailman.eng.auburn.edu/mailman/listinfo/veritas=
-bu</A></FONT>
<BR><FONT SIZE=3D2>> </FONT>
</P>
<BR>
<P><FONT =
SIZE=3D2>__________________________________________________</FONT>
<BR><FONT SIZE=3D2>Do You Yahoo!?</FONT>
<BR><FONT SIZE=3D2>Yahoo! Shopping - Mother's Day is May 12th!</FONT>
<BR><FONT SIZE=3D2><A HREF=3D"http://shopping.yahoo.com" =
TARGET=3D"_blank">http://shopping.yahoo.com</A></FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C1F83B.86724840--
|
|
|