Sun Java System Portal Server 7 Command-Line Reference

Examples


Example 5–9 get-monitoring-attribute-names -u amadmin -f ./password -p portal1 -i nicp104_80 -t MonitoringConfiguration

This command outputs:


com.sun.portal:type=MonitoringConfiguration
        ConnectorServerPort
        Disable
        HtmlAdaptorPort
        UseJavaPlatformMBeanServer


Example 5–10 get-monitoring-attribute-names -u amadmin -f ./password -p portal1 -i nicp104_80 --interactive

This command outputs:


Do you want to continue operation with <com.sun.portal:
 type=ChannelActionStatistic,channelAction=Content,name=Introduction,
class=com.sun.portal.providers.urlscraper.URLScraperProvider>? [y/n]
n
Do you want to continue operation with <com.sun.portal:
 type=com.sun.portal.desktop.context.ProviderCallerPool>? [y/n]
n
Do you want to continue operation with <com.sun.portal:
 type=ChannelActionStatistic,channelAction=Content,
 name=CommunityMembershipPortlet,class=com.sun.portal.providers.
 portletwindow.PortletWindowProvider>? [y/n]
n
Do you want to continue operation with <com.sun.portal:
type=ConnectorServer>? [y/n]
y
Do you want to continue operation with <com.sun.portal:
type=HtmlAdaptorServer>? [y/n]
y
Do you want to continue operation with <com.sun.portal:
type=DesktopRequestStatistic,name=Content>? [y/n]
n
Do you want to continue operation with <com.sun.portal:
type=ChannelActionStatistic,channelAction=Content,
name=CommunityPortlet,class=com.sun.portal.providers.portletwindow.
PortletWindowProvider>? [y/n]
n
Do you want to continue operation with <com.sun.portal:
type=ChannelActionStatistic,channelAction=Content,
name=Documentation,class=com.sun.portal.providers.urlscraper.
URLScraperProvider>? [y/n]n
Do you want to continue operation with <com.sun.portal:
type=ChannelActionStatistic,channelAction=Content,
name=RedirectChannel,class=com.sun.portal.providers.jsp.JSPProvider>? [y/n]
n
Do you want to continue operation with <com.sun.portal:
type=ChannelActionStatistic,channelAction=Content,
name=CommunityAnonymousContainer,class=com.sun.portal.providers.
containers.jsp.table.JSPTableContainerProvider>? [y/n]n
Do you want to continue operation with <com.sun.portal:
type=ChannelActionStatistic,channelAction=Content,
name=CommunityHomeContainer,class=com.sun.portal.providers.containers.
jsp.table.JSPTableContainerProvider>? [y/n]
n
Do you want to continue operation with <com.sun.portal:
type=MonitoringConfiguration>? [y/n]
y
Do you want to continue operation with <com.sun.portal:
type=ChannelActionStatistic,channelAction=Content,name=Login,class=com.sun.
portal.providers.jsp.JSPProvider>? [y/n]n
Do you want to continue operation with <com.sun.portal
:type=ChannelActionStatistic,channelAction=Content,
name=CommunityParentContainer,class=com.sun.portal.providers.containers.
jsp.single.JSPSingleContainerProvider>? [y/n]
n
com.sun.portal:type=ConnectorServer
        Active
        Address
        Attributes
        ConnectionIds.index
        MBeanServerForwarder
com.sun.portal:type=HtmlAdaptorServer
        Active
        ActiveClientCount
        AuthenticationOn
        Host
        LastConnectedClient
        MaxActiveClientCount
        Parser
        Port
        Protocol
        ServedClientCount
        State
        StateString
com.sun.portal:type=MonitoringConfiguration
        ConnectorServerPort
        Disable
        HtmlAdaptorPort
        UseJavaPlatformMBeanServer


Example 5–11 get-monitoring-attribute-names -u amadmin -f ./password -p portal1 -i nicp104_80 -v Port

This command outputs:


MBean ObjectName pattern is null
MBean type is null
MBean name-properties are null
Attribute name reg-exp is Port
Connecting to Portal Admin Server
Connecting to Portal Admin Server...done
Querying MBean ObjectNames with pattern com.sun.portal:*
Filtering MBean attribute names with pattern [\S]*Port[\S]*
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
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
        HtmlAdaptorPort
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
Disconnecting from Portal Admin Server
Disconnecting from Portal Admin Server...done