[Gluster-users] gluster cmd output - how to format

Xavi Hernandez jahernan at redhat.com
Mon Jul 13 07:17:20 UTC 2020


Hi.

If you need to parse input from a script, maybe it would be better to use
xml output:

# gluster --xml volume status


This should be easily parsable by any standard xml library or tool.

Xavi

On Thu, Jul 2, 2020 at 3:32 PM lejeczek <peljasz at yahoo.co.uk> wrote:

> hi guys
>
> Would you know if it's possible to format gluster cmd output?
> What frustrates me personally is "forced" line wrapping, as
> example of:
>
> $ gluster volume status
>
> many thanks, L.
>
> ________
>
>
>
> Community Meeting Calendar:
>
> Schedule -
> Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
> Bridge: https://bluejeans.com/441850968
>
> Gluster-users mailing list
> Gluster-users at gluster.org
> https://lists.gluster.org/mailman/listinfo/gluster-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20200713/31ac8928/attachment.html>


More information about the Gluster-users mailing list