[Gluster-users] FeedBack Requested : Changes to CLI output of 'peer status'

James purpleidea at gmail.com
Tue Aug 28 18:55:20 UTC 2012


On Tue, 2012-08-28 at 12:51 -0600, Joe Topjian wrote:
> Hi Pranith,
> 
> On Tue, Aug 28, 2012 at 6:51 AM, Pranith Kumar Karampuri
> <pkarampu at redhat.com> wrote:
>            Why not use --xml at the end of the command? That will
>         print the output in xml format. Would that make it easy to
>         parse?.
> 
> 
> IMO, I can see --xml being useful for more "sophisticated" scripts
> that utilize Perl, Python, or Ruby, however, for quick shell
> scripting, I can see this being very difficult if not unusable.
FWIW: I tend to agree on this point. The other question that comes to
mind is what "quick" bash scripts are you writing for managing gluster?

Get curious,
James
> 
> 
> Having the output print in set columns, though might wrap when printed
> on <=80 char terminals, would make it very easy to parse with awk.
> 
> 
> Thanks,
> Joe
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://gluster.org/cgi-bin/mailman/listinfo/gluster-users

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20120828/e59f00cb/attachment.sig>


More information about the Gluster-users mailing list