cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
From: James Parsons <jparsons@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] [PATCH] add format and filtering options to	cman_tool
Date: Mon, 17 Sep 2007 12:37:29 -0400	[thread overview]
Message-ID: <46EEAD49.6080201@redhat.com> (raw)
In-Reply-To: <46EEAA79.6030309@redhat.com>

Ryan O'Hara wrote:

> Below is a patch that will add the ability to filter the output of 
> 'cman_tool nodes' by nodename, as well as specify the format of the 
> output.
>
> Filtering by nodename is done via the -n <nodename> option. Multiple 
> nodes can be specified per usual.
>
> Formatting can be done via the -F <opt1,opt2,...> option, where opt1, 
> opt2, etc. can be one of four things: id, name, type, and addr. These 
> will output the node id, node name, type, and address(es) for the 
> node(s) respectively. Note that this is not a complete set of options 
> as they correspond to information available from cman_tool, but it 
> does achieve the goal.
>
> This is intended to give users a way to extract specific information 
> about a node (or node), which might be useful for scripts, etc.
>
> Comments welcome.
>
> -Ryan 

This is a lovely thing, Ryan. Thank you.
-j




      reply	other threads:[~2007-09-17 16:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-17 16:25 [Cluster-devel] [PATCH] add format and filtering options to cman_tool Ryan O'Hara
2007-09-17 16:37 ` James Parsons [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46EEAD49.6080201@redhat.com \
    --to=jparsons@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).