On Tue, Aug 05, 2003 at 12:13:38PM -0400, Scott Mcdermott wrote:
> anyone know of an easy way to get columns to appear somewhat
> legibly without hacking the amanda source?
>
> localhost user-e 1 12390460 12390460.000000 -- 33:36
> 6147.200195 33:36 6146.399902
>
I don't recall ever seeing 6 decimal places printed out. That is the default
for C language printf. But I thought it was only printing 1 or 2 decimal
places. I didn't really care if the rate was 6147 KB/s or 6147.20 KB/s :))
So I did hack my copy to get rid of decimal places in all columns.
> here's my columnspec:
>
>
> HostName=0:-1,Disk=4:-1,Level=1:-1,OutKB=2:-1,Compress=1:-1,DumpTime=2:-1,DumpRate=1:-1,TapeTime=3:-1,TapeRate=1:-1
>
> docs say using -1 lets field size be calculated from largest
> one, but that doesn't appear to be the case?
Never noted that before in the man page. Learn something new every day :)
So I don't know if it does, or has ever, worked. But I'll wager that
getting rid of the 21 fractional chars would do nothing but help.
--
Jon H. LaBadie jon AT jgcomp DOT com
JG Computing
4455 Province Line Road (609) 252-0159
Princeton, NJ 08540-4322 (609) 683-7220 (fax)
|