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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Stephan von Krawczynski <skraw at ithnet.com> [2012 08 28, 15:31]:
> You are not seriously talking about 80 char terminals for an output
> that is commonly used by scripts and stuff like nagios, are you?
>
> > -----
> > Hostname: 10.70.36.7
> > Uuid: c7283ee7-0e8d-4cb8-8552-a63ab05deaa7
> > State: Peer in Cluster (Connected)
> > -----

 Given the '80 char terminals' and the plan to add more fields, I would
suggest a kind of key-value output which should be as easy to parse:

----- cut here -----
c7283ee7-0e8d-4cb8-8552-a63ab05deaa7: Hostname: 10.70.36.7
c7283ee7-0e8d-4cb8-8552-a63ab05deaa7: State: Connected
----- cut here -----

 This way you should be able to line-filter the output as if it was all
in one line.



[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux