The command line: You can monitor the status of your environment using the WLST or opmnctl command lines.
For example, to get the status of the Managed Server server1, use the following command:
wls:/mydomain/serverConfig> state('server1','Server') Current state of "server1": SUSPENDED
Thanks for the reply..
I have tried using WLST command as you suggested but it is not displaying the expected result...
Current state of 'URM_server1' : RUNNING
But the server is running in the Warnning state....
thanks & Regards,
This may have something to do with it: Server Warning Health State in Admin Console is Shown as OK in WLST (Doc ID 971971.1)
Some other notes that may be of help to you.
Server Health Status In WebLogic (Doc ID 1325096.1)
WLST sample script To Obtain Managed Server Status (Doc ID 1373532.1)
How to check WebLogic Server status from WLST? (Doc ID 1162138.1)
Thanks for the info.
These document only for the server status related. their no such info about getting the health state information...
Then I am not sure what health status you are speaking of.
I am talking about the health status of managed server in weblogic console, generally the server health state will be as OK with green colored right mark but some time instead of OK it will display as WARNING or OVERLOAD, Blank(unknown). for this i need a script which can be pick the health state of the server when it in warning or blank state..