Amanda-Users

amreport: a request for improvement?

2008-11-06 15:13:35
Subject: amreport: a request for improvement?
From: Jean-Francois Malouin <Jean-Francois.Malouin AT bic.mni.mcgill DOT ca>
To: AMANDA users <amanda-users AT amanda DOT org>
Date: Thu, 6 Nov 2008 15:08:21 -0500
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?

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

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