Quantcast
Channel: Symantec Connect - Backup and Recovery - 讨论
Viewing all articles
Browse latest Browse all 3749

crontab Question

$
0
0
我需要解决方案

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.


Viewing all articles
Browse latest Browse all 3749

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>