Example: Querying the server state using the wsadmin tool

The following example queries the server state.