9.14 monodrshw (displays the server order control status)
Format
monodrshw { -s server-alias-name | -g group-name }
Users who can execute the command
Superuser and general user
Description
The monodrshw command displays parent servers. If no parent server has been defined, the command displays none.
Options
-
-s server-alias-name
Specifies the server whose parent servers are to be displayed, if the specified server is running. If the specified server is not running, the command adds the KAMN322-E message to the results that are displayed. If the specified server is not grouped, the command adds the KAMN944-E message to the results that are displayed.
-
-g group-name
Specifies the group whose parent servers are to be displayed, if any servers in the specified group are running. If the specified group contains no servers that are currently running, the command adds the KAMN428-E message to the results that are displayed.
Return codes
Value |
Meaning |
---|---|
0 |
Normal termination (the server order control status has been displayed) |
Other than 0 |
Abnormal termination |
Examples
- This example specifies a server alias name and executes the command while the server is running:
-
> monodrshw -s server2 KAMN950-I Order Information group name:groupA alias:server2 parent:server1
Legend: >: Indicates a user operation.
- Example of when a group name is specified:
-
> monodrshw -g groupA KAMN950-I Order Information group name:groupA alias:server1 parent:none alias:server2 parent:server1 alias:server3 parent:server2 alias:server4 parent:server2 alias:server5 parent:none
Legend: >: Indicates a user operation.