Example: Querying cluster state using wsadmin

The following example queries the state of the cluster: