Amanda-Users

Re: amreport: a request for improvement?

2008-11-06 15:22:06
Subject: Re: amreport: a request for improvement?
From: Brian Cuttler <brian AT wadsworth DOT org>
To: Jean-Francois Malouin <Jean-Francois.Malouin AT bic.mni.mcgill DOT ca>
Date: Thu, 6 Nov 2008 15:16:03 -0500
On Thu, Nov 06, 2008 at 03:08:21PM -0500, Jean-Francois Malouin wrote:
> Hello,
> 
> With faster tape drives it is not uncommon to get taper transfer rates
> above 100MiBs.  amreport will then fill the entry "Avg Tp Write Rate
> (k/s)" with '#####.#' as reporter.c shows at line 821 for 2.6.0p2. My
> great programming skills do not allow me to fix this simple thing :)
> but it would be nice to have the option of having the taper stats in
> KiBs or GiBs through a amanda.config option, much the same way
> 'displayunit' works. Is this a difficult thing to do?

Not sure how much precision you need in this field either, I
suppose you could argue that it could autoscale, if you can save
a column or two for units after rounding the number.


> Here's an example of a report I got to illustrate my point:
> 
> ...
> Chunks Taped                 52         52          0
> Avg Tp Write Rate (k/s) #####.#    #####.#        --
> 
>                                       DUMPER STATS                TAPER STATS 
> HOSTNAME DISK           L ORIG-MB  OUT-MB  COMP%  MMM:SS    KB/s MMM:SS    
> KB/s
> ------------------------- -------------------------------------- 
> --------------
> gustav   /raid/ipl      0  848671  848671    --   745:06 19438.8 122:03 
> 118678.8
> 
> yeah I know, the taper stats suck. I'm working on that...
> regards,
> jf
> -- 
> <� >< Jean-Fran�ois Malouin          McConnell Brain Imaging Centre        
> System/Network Administrator        Montr�al Neurological Institute
> 3801 Rue University, Suite WB219, Montr�al, Qu�bec, H3A 2B4, Canada
---
   Brian R Cuttler                 brian.cuttler AT wadsworth DOT org
   Computer Systems Support        (v) 518 486-1697
   Wadsworth Center                (f) 518 473-6384
   NYS Department of Health        Help Desk 518 473-0773



IMPORTANT NOTICE: This e-mail and any attachments may contain
confidential or sensitive information which is, or may be, legally
privileged or otherwise protected by law from further disclosure.  It
is intended only for the addressee.  If you received this in error or
from someone who was not authorized to send it to you, please do not
distribute, copy or use it or any attachments.  Please notify the
sender immediately by reply e-mail and delete this from your
system. Thank you for your cooperation.



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