On Mon, 2006-02-06 at 12:19, Anthony Worrall wrote: > Hi > > Is there an easy way to see what the usage of the tapes are? > > There seem to be was of doing this for a host or DLE but not a tape. > > Cheers > > Anthony Worrall > > Here is a dirty way to do it
grep "writing end marker" amdump* | sed -e 's/^.*\[//' | awk '{ sum += $4 } END { printf("%f GB\n", sum/(1024*1024)) }'