Amanda-Users

Re: printf %f resolution in amreport

2003-07-05 11:33:00
Subject: Re: printf %f resolution in amreport
From: Gene Heskett <gene.heskett AT verizon DOT net>
To: amanda-users AT amanda DOT org
Date: Sat, 5 Jul 2003 11:27:57 -0400
On Saturday 05 July 2003 10:26, Jon LaBadie wrote:
>Looking at a nightly report I see some of the values being printed
>with a single decimal place that I would prefer no decimal places.
>Like dump rate, tape rate, compression.
>
>While thinking about it I recalled my reports used to be the way
>I would like.  Sure enough, on Feb 15 2002, the behavior of my
>reports changed.  No version change (2.4.2), that came much later.
>Looking still further back, on Dec 26 2000, the behavior changed
>from a single decimal to no decimals.
>
>Gee, holiday gifts, Xmax and Valentines :)
>
>But I can't determine what I did to effect those changes.
>Did I actually go into the source of reporter.c and change
>the fprintf statements or is there a configuration setting?

There is a format control template in amanda.conf for that.
Mine looks like this:

columnspec 
"Disk=1:18,HostName=0:10,Level=1:3,OrigKB=1:9,OutKB=1:9,Compress=1:7,DumpTime=1:7,DumpRate=1:7,TapeTime=1:7,TapeRate=1:7"

-- 
Cheers, Gene
AMD K6-III@500mhz 320M
Athlon1600XP@1400mhz  512M
99.26% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attornies please note, additions to this message
by Gene Heskett are:
Copyright 2003 by Maurice Eugene Heskett, all rights reserved.


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