Amanda-Users

Re: amstatus formatting

2005-04-11 12:16:53
Subject: Re: amstatus formatting
From: Brian Cuttler <brian AT wadsworth DOT org>
To: Gene Heskett <gene.heskett AT verizon DOT net>
Date: Mon, 11 Apr 2005 12:11:48 -0400
Gene,

Thank you, will have to try this out, probably have to upgrade
the server to a newer version, but that is go to do periodically
anyway, not that I've ever encountered bugs, its always been a
matter of feature upgrades for our site.

I'm not sure if it would be confusing to dynamically choose the
units based on field length and appy the designator k, m or g.

                                                thank you,

                                                Brian

On Mon, Apr 11, 2005 at 12:04:43PM -0400, Gene Heskett wrote:
> On Monday 11 April 2005 10:50, Brian Cuttler wrote:
> >Hello Amanda users,
> >
> >There isn't a ready equiv to "columnspec" for amstatus, is there ?
> >
> >I'd like to adjust the columns on a couple of my reports, or change
> >the units, either way.
> >
> >samar 1# /usr/local/sbin/amstatus samar
> >Using /usr5/amanda/DailySet1/amdump from Fri Apr  8 21:00:05 EDT
> > 2005
> >
> >samar:/             1     1121k finished (22:05:20)
> >samar:/usr1         1       25k finished (22:04:57)
> >samar:/usr5/allengr 2    60896k finished (22:13:38)
> >samar:/usr5/amanda  1     2222k finished (22:05:34)
> >samar:/usr5/bimal   1    13948k finished (22:06:44)
> >samar:/usr5/dtaylor 0145063106k finished (1+10:56:02)
> >samar:/usr5/hxgao   1    26784k finished (22:15:13)
> >samar:/usr5/joy     0153291111k dumping to tape (2+4:37:09)
> >samar:/usr5/lalor   1        0k finished (22:03:45)
> >samar:/usr5/leith   2   102601k finished (22:07:08)
> >samar:/usr5/liw     1   160714k finished (22:17:53)
> >samar:/usr5/ninggao 1     1401k finished (22:14:18)
> >samar:/usr5/skaur   1        0k finished (22:03:31)
> >samar:/usr5/tapu    1       26k finished (22:04:43)
> >
> >      thank you,
> >
> >      Brian
> >
> I think the only thing it pays any attention to is the k,m,g switch 
> that was added to amanda.conf a year or so back.  From my current 
> amanda.conf:
> ------
> # This is a recently added item, "displayunit".
> # The default has always been K till now
> # One should set
> displayunit "m"
> # to make it use megabytes instead
> -------
> With the above setting, I get amstatus reports like this:
> -----------
> coyote:/amanda                 3       53m finished (3:09:15)
> coyote:/bin                    0        5m finished (3:13:01)
> coyote:/boot                   0       47m finished (3:09:19)
> coyote:/dev                    0        9m finished (3:11:54)
> coyote:/dos                    1        7m finished (3:12:33)
> coyote:/etc                    0        7m finished (3:12:31)
> coyote:/home                   0      159m finished (3:04:47)
> coyote:/lib                    0       28m finished (3:10:14)
> coyote:/opt                    1        0m finished (3:13:26)
> coyote:/root                   1      384m finished (3:01:27)
> coyote:/sbin                   0       18m finished (3:11:04)
> coyote:/tmp                    0      166m finished (3:08:46)
> coyote:/usr/FC3                1        0m finished (3:15:17)
> coyote:/usr/FC3-SRPMS          1        0m finished (3:15:01)
> coyote:/usr/X11R6              1        0m finished (3:13:34)
> coyote:/usr/bin                0      277m finished (3:05:49)
> coyote:/usr/dlds-misc          0     1631m finished (2:24:13)
> --------
> Would that help you Brian?  I note that it 'rounds down' however, and 
> I personally would rather it rounded up.  But... shrug.
> 
> -- 
> Cheers, Gene
> "There are four boxes to be used in defense of liberty:
>  soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author)
> 99.34% setiathome rank, not too shabby for a WV hillbilly
> Yahoo.com and AOL/TW attorneys please note, additions to the above
> message by Gene Heskett are:
> Copyright 2005 by Maurice Eugene Heskett, all rights reserved.
---
   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


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