#connect to the admin server domainRuntime() allservers=ls('/ServerRuntimes/', returnMap='true') for server in allservers: allds = ls('/ServerRuntimes/' + server + '/JDBCServiceRuntime/' + server + '/JDBCDataSourceRuntimeMBeans', returnMap='true') for ds in allds: cd ('/ServerRuntimes/' + server + '/JDBCServiceRuntime/' + server + '/JDBCDataSourceRuntimeMBeans/' + ds) print server, ds, cmo.getActiveConnectionsCurrentCount()
Friday, November 22, 2013
WLST to monitor all Datasources on all Managed Servers by connecting only to the Admin
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment