我需要解决方案
Currently I am running this in cron to send out a scratch pool report...
echo "LTO4 in SCRATCH POOL:"
/usr/openv/volmgr/bin/vmquery -rn 1 -w|awk '{print $1, $3, $9, $12}'|grep -i scratch|grep -v HCART3|wc -l 1>>$OUTFILE1 2>&1
/usr/openv/volmgr/bin/vmquery -rn 1 -w|awk '{print $1, $3, $9, $12}'|grep -i scratch|grep -v HCART3 1>>$OUTFILE1 2>&1
How can I separate this more and only show LTO4 and then have another line that will only show LTO6? Right now its combining both, but I'd like to be able to break this down more and separate the LTO4 from the LTO6 tapes.