Amanda-Users

how to get columns to line up in summary?

2003-08-05 12:18:39
Subject: how to get columns to line up in summary?
From: Scott Mcdermott <smcdermott AT questra DOT com>
To: amanda-users AT amanda DOT org
Date: Tue, 5 Aug 2003 12:13:38 -0400
anyone know of an easy way to get columns to appear somewhat
legibly without hacking the amanda source?

here's what output looks like for me:

HOSTNAME     DISK          L ORIG-KB  OUT-KB COMP%  MMM:SS KB/s   MMM:SS KB/s
-------------------------- ----------------   ------
localhost    /export/corp  1 9639610  9639610.000000 --    25:51 6213.500000    
25:52 6212.200195
localhost    /export/local 1 2865760  2865760.000000 --     7:51 6083.299805    
 7:51 6080.000000
localhost    user-a        1 11103710  11103710.000000 --    32:49 5639.000000  
  32:50 5637.500000
localhost    user-b        1   30240  30240.000000 --     0:07 4593.600098     
0:07 4566.500000
localhost    user-c        0 10103330  10103330.000000 --    28:10 5978.500000  
  28:10 5977.500000
localhost    user-d        1 6710600  6710600.000000 --    20:51 5365.700195    
20:51 5363.600098
localhost    user-e        1 12390460  12390460.000000 --    33:36 6147.200195  
  33:36 6146.399902

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?