2.2.3 Finding MBeans
To locate a particular MBean, you can use the find command. TXST returns the pathname to the specified MBean. You can use the getMBean command to return the MBean specified by the path. For more information, see find and getMBean.
Example 2-3 Finding MBeans
txst:simpapp_58103:/>find('ser*')
/L1/GROUP1/server_1
txst:simpapp_58103:/>bean = getMBean('/L1/GROUP1/server_1')
txst:simpapp_58103:/>path = getPath(bean)
txst:simpapp_58103:/>print path
/L1/GROUP1/server_1
Parent topic: Navigating MBeans