Amanda-Users

Re: tape usage

2006-02-06 07:35:08
Subject: Re: tape usage
From: Anthony Worrall <anthony.worrall AT reading.ac DOT uk>
To: amanda-users AT amanda DOT org
Date: Mon, 06 Feb 2006 12:31:34 +0000
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)) }'


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