WildFly CLI - Obtaining the Current JGroups View

From NovaOrdis Knowledge Base
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]"
}