Returns MBean attribute values for Portal Server MBeans. A set of MBeans is first determined based on given type and name key properties, or given JMX ObjectName pattern.
If the attribute name regular expression is specified, then attribute values of all MBeans from the determined set of MBeans matching the attribute name regular expression is returned. If it is not specified, then all attribute values for a MBean are returned. If no option values or operand are specified, then the command returns attribute values of all MBeans registered with the Portal Server instance or Portal Server Secure Remote Access instance.
psadmin get-monitoring-attributes --adminuser uid --passwordfile password-filename [--portal portal-ID] | [--proxy-type sra-proxy-type ] --instance instance-ID [--type type-name-property [--name-properties mbean-name-properties ] | [--object-name mbean-object-name] [--interactive] [--output output-filename] [--verbose] [ attribute-name-regexp]
psadmin get-monitoring-attributes -u user -f password-filename [ -p portal-ID] | -x sra-proxy-type] [-i instance-ID ] [[-t type-name-property [ --name-properties mbean-name-properties] | [--object-name mbean-object-name]] -o output-filename [ -v] [attribute-name-regexp]
The following options are required:
Specifies the administrator's distinguished name.
Specifies the administrator's password in the password file.
Specifies the Portal Server instance or Portal Server Secure Remote Access instance for this command. Portal Server Secure Remote Access instance is also known by Portal Server Secure Remote Access profile name.
The following options are not required:
Specifies the portal ID.
Identifies Portal Server Secure Remote Access Proxy type: Gateway, Rewriter Proxy, or Netlet Proxy. sra-proxy-type can be gateway, rwp, or nlp respectively.
Specifies the unique identity of the MBean ObjectName.
If ObjectName property 'type' is not unique, MBean ObjectName may have additional name-properties to uniquely identify it. You can locate such MBean specifying additional name-properties using this option, along with the -–type option.
Specifies a valid JMX ObjectName pattern to select monitoring MBeans.
Pompts for user confirmation to confirm getting attribute names for the selected MBean.
Names the output file.
Shows progression of command.
The following operand is available:
Specifies a java.util.regex regular expression as an operand to locate a MBean, if type and name-properties options are not enough.
This command outputs:
com.sun.portal:type=ConnectorServer Active = true Address = service:jmx:jmxmp://localhost:49156 Attributes = {jmx.remote.profiles=TLS SASL/PortalServerPlain, jmx.remote.tls.enabled.cipher.suites= SSL_RSA_WITH_RC4_128_MD5, jmx.remote.tls.enabled.protocols=TLSv1} ConnectionIds.0 = jmxmp://localhost:64242 DemoUser 23436655 |
This command outputs:
com.sun.portal:type=ChannelActionStatistic,channelAction=Content, name=Introduction,class=com.sun.portal.providers.urlscraper.URLScraperProvider No MBean attributes found com.sun.portal:type=com.sun.portal.desktop.context.ProviderCallerPool No MBean attributes found com.sun.portal:type=ChannelActionStatistic,channelAction=Content, name=CommunityMembershipPortlet,class=com.sun.portal.providers. portletwindow. PortletWindowProvider No MBean attributes found com.sun.portal:type=ConnectorServer No MBean attributes found com.sun.portal:type=HtmlAdaptorServer Port = 49182 com.sun.portal:type=DesktopRequestStatistic,name=Content No MBean attributes found com.sun.portal:type=ChannelActionStatistic,channelAction=Content, name=CommunityPortlet,class=com.sun.portal.providers.portletwindow. PortletWindowProvider No MBean attributes found com.sun.portal:type=ChannelActionStatistic,channelAction=Content, name=Documentation,class=com.sun.portal.providers.urlscraper. URLScraperProvider No MBean attributes found com.sun.portal:type=ChannelActionStatistic,channelAction=Content, name=RedirectChannel,class=com.sun.portal.providers.jsp.JSPProvider No MBean attributes found com.sun.portal:type=ChannelActionStatistic,channelAction=Content, name=CommunityAnonymousContainer,class=com.sun.portal.providers.containers. jsp.table.JSPTableContainerProvider No MBean attributes found com.sun.portal:type=ChannelActionStatistic,channelAction=Content, name=CommunityHomeContainer,class=com.sun.portal.providers.containers. jsp.table.JSPTableContainerProvider No MBean attributes found com.sun.portal:type=MonitoringConfiguration ConnectorServerPort = 49156 HtmlAdaptorPort = 49182 com.sun.portal:type=ChannelActionStatistic,channelAction=Content,name=Login, class=com.sun.portal.providers.jsp.JSPProvider No MBean attributes found com.sun.portal:type=ChannelActionStatistic,channelAction=Content, name=CommunityParentContainer,class=com.sun.portal.providers.containers.jsp. single.JSPSingleContainerProvider No MBean attributes found |