###################****##############****########################
# Generic script applicable on any Operating Environments (Unix, Windows)
# ScriptName : appmointer.py
# Author : Madhusudhana Chilipi
############### Connecting to Start #################################
connect('weblogic','welcome1','t3://usadc-vswlst01:7001')
domainRuntime()
cd('AppRuntimeStateRuntime/AppRuntimeStateRuntime')
#cd('ServerRuntimes')
#ls()
AppList = cmo.getApplicationIds()
print '*******Application State*******'
print '***********************************************\n'
for App in AppList:
print '****',App ,'****', cmo.getIntendedState(App)
print '***********************************************\n'
# Generic script applicable on any Operating Environments (Unix, Windows)
# ScriptName : appmointer.py
# Author : Madhusudhana Chilipi
############### Connecting to Start #################################
connect('weblogic','welcome1','t3://usadc-vswlst01:7001')
domainRuntime()
cd('AppRuntimeStateRuntime/AppRuntimeStateRuntime')
#cd('ServerRuntimes')
#ls()
AppList = cmo.getApplicationIds()
print '*******Application State*******'
print '***********************************************\n'
for App in AppList:
print '****',App ,'****', cmo.getIntendedState(App)
print '***********************************************\n'
No comments:
Post a Comment