Amanda-Users

RE: misformatted output of "amadmin balance"

2007-07-06 13:29:19
Subject: RE: misformatted output of "amadmin balance"
From: "Robert Echlin" <rechlin AT espial DOT com>
To: <sgw AT amanda DOT org>, "Amanda user's group" <amanda-users AT amanda DOT org>
Date: Fri, 6 Jul 2007 13:06:40 -0400
You want to pipe it through an awk script.
Not having used awk recently, it would take me half an hour, but it
should be a one liner.

Rob

--
Rob Echlin
Software Development Environment Prime
Espial IPTV
rechlin -at- espial.com
Phone: +1 613-230-4770 ext 1150
www.espial.com

-------- Espial Group Inc. Confidential --------
Important Notice: This communication is intended to be received only by
the individual or entity to whom or to which it is addressed and may
contain information that is privileged, confidential and/or subject to
copyright. Any unauthorized use, copying, review or disclosure of this
communication is strictly prohibited. If you have received this
communication in error, please delete the message and notify the sender
by reply email. Thank you for your cooperation.
 

-----Original Message-----
From: owner-amanda-users AT amanda DOT org
[mailto:owner-amanda-users AT amanda DOT org] On Behalf Of Stefan G. Weichinger
Sent: Monday, July 02, 2007 5:19 PM
To: Amanda user's group
Cc: Amanda Hackers
Subject: misformatted output of "amadmin balance"



Greets, amanda-users and -hackers,
does anyone know how to get properly formatted output from

# amadmin daily balance

 due-date  #fs    orig MB     out MB   balance
----------------------------------------------
 7/02 Mon   16 85542 62735   +339.6%
 7/03 Tue    2 14319 2546    -82.2%
 7/04 Wed    0 0 0      ---
 7/05 Thu   20 45645 27801    +94.8%
 7/06 Fri   15 82366 54334   +280.8%

[...]

The columns aren't in line, maybe someone knows a fix.
Example taken from a amanda server running 2.5.1p3.

Greets, Stefan


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