2014. 6. 1. 15:15

1. checkSAF.py

#connect(userConfigFile='/home/aiaadm/Script/secure/userconfig.secure', userKeyFile='/home/aiaadm/Script/secure/userkey.secure', url='10.000.000.000:7011')
domainRuntime()
cd('ServerRuntimes/aiaSvr21/SAFRuntime/aiaSvr21.saf/Agents/SOMFSAFAgent-21')
count2=cmo.isPausedForForwarding()
cd('/')
cd('ServerRuntimes/aiaSvr41/SAFRuntime/aiaSvr41.saf/Agents/SOMFSAFAgent-41')
count4=cmo.isPausedForForwarding()
count_total = count2+count4
print '%d' % count_total
disconnect()
exit()

 

2. checkSAF.sh

#!/bin/sh

java -cp /app/weblogic/wlserver_10.3/server/lib/weblogic.jar weblogic.WLST checkSAF.py -skipWLSModuleSkanning

'Weblogic' 카테고리의 다른 글

JDBC Monitoring  (0) 2014.08.19
weblogic coherence  (0) 2014.08.19
weblogic status check  (0) 2014.08.18
WebLogic StuckThreadMaxTime  (0) 2014.06.16
Technical Architecture BaseLine  (0) 2014.05.15
Posted by 아도니우스