Veritas-bu

[Veritas-bu] List tapes with no "time assigned"

2003-04-18 13:56:52
Subject: [Veritas-bu] List tapes with no "time assigned"
From: rob AT worman DOT org (Rob Worman)
Date: Fri, 18 Apr 2003 12:56:52 -0500
available_media includes such information...

otherwise vmquery with the "-j" flag will produce output that's nice 
for parsing, e.g.:

vmquery -a -j | \
awk '{print $2 ": assigned:" $20 " robot:" $8 }' |\
grep "assigned:0" |\
grep -v "robot:NONE"


I am trying to list all tapes that have no "time assigned" and that 
are in my library. I've looked at a number of commands, but I can't 
seem to find a way to do this. I'm pretty good at massaging text, but 
I can't seem to find a command that lists unassigned media.

Any pointers will be appreciated.


If you have received this e-mail in error or wish to read our e-mail 
disclaimer statement and monitoring policy, please refer to 
http://www.drkw.com/disc/email/ or contact the sender.


<Prev in Thread] Current Thread [Next in Thread>