WildFly CLI - Obtaining the Current JGroups View

From NovaOrdis Knowledge Base
Revision as of 03:48, 5 March 2016 by Ovidiu (talk | contribs) (→‎Overview)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Internal

Overview

/subsystem=jgroups/channel=web/:read-attribute(name=view)

where the channel name should be the name of the JGroups group (usually Infinispan cache container name).

Output example:

[standalone@localhost:9990 channel=web] /subsystem=jgroups/channel=web/:read-attribute(name=view)
{
    "outcome" => "success",
    "result" => "[jgh2/web|17] (2) [jgh2/web, jgh3/web]"
}