WebLogic Server Command Reference
|
|
Displays MBean properties (attributes) and JMX object names (in the WebLogicObjectName format).
The output of the command is as follows:
{MBeanNameobject-name{property1value} {property2value}. . .}
. . .
Note that the properties and values are expressed as name-value pairs, each of which is returned within curly brackets. This format facilitates parsing of the output by a script.
If -pretty is specified, each property-value pair is displayed on a new line and curly brackets are not used to separate the pairs:
MBeanName:object-name
property1:value
property2:value.
.
.
MBeanName:object-name
property1:value
abbribute2:value
java [ SSL Arguments ] weblogic.Admin
[ {-urlURL} |[
{-adminurlprotocol://]Admin-Server-listen-address:listen-port}[ User Credentials Arguments ]
]
GET [-pretty] {-typembeanType|-mbeanobjectName}
[-propertyproperty1] [-propertyproperty2]...
|
{-url [
|
To retrieve Administration MBeans, use To retrieve Runtime MBeans or Local Configuration MBeans, use one of the following:
For more information, refer to the -url and |
|
Returns information for all MBeans of the specified type. For more information, refer to Specifying MBean Types. |
|
|
Fully qualified object name of an MBean in the For more information, refer to the Javadoc for |
|
|
The name of the MBean property (attribute) or properties to be listed. Note: If property is not specified using this argument, all properties are displayed. |
The following example displays all properties of the JDBCConnectionPool Administration MBean for a connection pool named MedRecPool. Note that the command must connect to the Administration Server to retrieve information from an Administration MBean:
java weblogic.Admin -url AdminHost:7001 -username weblogic
-password weblogic GET -pretty -mbean
MedRec:Name=MedRecPool,Type=JDBCConnectionPool
For more information about the environment in which this example runs, refer to Example Environment.
If the command succeeds, it returns output similar to the following truncated example:
---------------------------
MBeanName: "MedRec:Name=MedRecPool,Type=JDBCConnectionPool"
ACLName:
CachingDisabled: true
CapacityIncrement: 1
ConnLeakProfilingEnabled: false
ConnectionCreationRetryFrequencySeconds: 0
ConnectionReserveTimeoutSeconds: 10
...
The following example displays all instances of all JDBCConnectionPoolRuntime MBeans for all servers in the domain.
java weblogic.Admin -adminurl AdminHost:7001 -username weblogic
-password weblogic GET -pretty -type JDBCConnectionPoolRuntime
The following example displays all instances of all JDBCConnectionPoolRuntime MBeans that have been deployed on the server instance that listens on ManagedHost:8001:
java weblogic.Admin -url ManagedHost:8001 -username weblogic
-password weblogic GET -pretty -type JDBCConnectionPoolRuntime
|
|
|