shaman stat
The
shaman stat
command is used to display information about the current cluster status and clustering resources. To display a dynamic real-time view of the cluster and clustering resources, use the
shaman top
command.
Syntax
shaman -c
<cluster_name>
stat
[
-X
,
--xml
] [
-g
,
--group
] [
-n
,
--node-ip
<IP_address>
] [
-N
,
--node-id
<ID>
]
Options
Name
|
Description
|
-c
<cluster_name>
|
Name of the cluster for which to execute the command.
|
-X, --xml
|
Display cluster statistics in XML format.
|
-g, --group
|
Group clustering resources according to their state into three groups:
-
Active
. Healthy virtual machines and Containers hosted in the cluster.
-
Broken
. Virtual machines and Containers that could not be relocated from a failed server to a healthy one.
-
Pool
. Virtual machines and Containers waiting for relocation from a failed server to a healthy one.
|
-n, --node-ip
<IP_address>
|
Display statistics only for the server with the specified IP address.
|
-N, --node-id
<ID>
|
Display statistics only for the server with the specified ID.
|
|