Sun Java System Portal Server 7 Command-Line Reference

Examples


Example 5–2 get-monitoring-mbean-names -u amadmin -f ./password -p portal1 -i nicp104_80

This command outputs:


com.sun.portal:type=ChannelActionStatistic,channelAction=Content,
 name=Introduction,class=com.sun.portal.providers.urlscraper.
URLScraperProvider
com.sun.portal:type=com.sun.portal.desktop.context.ProviderCallerPool
com.sun.portal:type=ChannelActionStatistic,channelAction=Content,
name=CommunityMembershipPortlet,class=com.sun.portal.providers.
portletwindow.PortletWindow Provider
com.sun.portal:type=ConnectorServer
com.sun.portal:type=HtmlAdaptorServer
com.sun.portal:type=DesktopRequestStatistic,name=Content
com.sun.portal:type=ChannelActionStatistic,channelAction=Content,
 name=CommunityPortlet,class=com.sun.portal.providers.portletwindow.
PortletWindowProvider
com.sun.portal:type=ChannelActionStatistic,channelAction=Content,
 name=Documentation,class=com.sun.portal.providers.urlscraper.
URLScraperProvider
com.sun.portal:type=ChannelActionStatistic,channelAction=Content,
 name=RedirectChannel,class=com.sun.portal.providers.jsp.JSPProvider
com.sun.portal:type=ChannelActionStatistic,channelAction=Content,
 name=CommunityAnonymousContainer,class=com.sun.portal.providers.
 containers.jsp.table.JSPTableContainerProvider
com.sun.portal:type=ChannelActionStatistic,channelAction=Content,
 name=CommunityHomeContainer,class=com.sun.portal.providers.
containers.jsp.table.JSPTableContainerProvider
com.sun.portal:type=MonitoringConfiguration
com.sun.portal:type=ChannelActionStatistic,channelAction=Content,
 name=Login,class=com.sun.portal.providers.jsp.JSPProvider
com.sun.portal:type=ChannelActionStatistic,channelAction=Content,
 name=CommunityParentContainer,class=com.sun.portal.providers.
 containers.jsp.single.JSPSingleContainerProvider


Example 5–3 get-monitoring-mbean-names -u amadmin -f ./password -p portal1 -i nicp104_80 -t DesktopRequestStatistic

This command outputs:


com.sun.portal:type=DesktopRequestStatistic,name=Content


Example 5–4 get-monitoring-mbean-names -u amadmin -f ./password -p portal1 -i nicp104_80 -t DesktopRequestStatistic -v

This command outputs:


MBean ObjectName pattern is null
MBean type is DesktopRequestStatistic
MBean name-properties are null
MBean name reg-exp is null
Connecting to Portal Admin Server
Connecting to Portal Admin Server...done
Querying MBean ObjectNames with pattern com.sun.portal:
type=DesktopRequestStatistic,*
Filtering MBean ObjectNames with pattern [\S]*:[\S]*
com.sun.portal:type=DesktopRequestStatistic,name=Content
Disconnecting from Portal Admin Server
Disconnecting from Portal Admin Server...done


Example 5–5 get-monitoring-mbean-names -u amadmin -f ./password -p portal1 -i nicp104_80 --name-properties "channelAction=Content"

This command outputs:


com.sun.portal:type=ChannelActionStatistic,channelAction=Content,
 name=Introduction,class=com.sun.portal.providers.urlscraper.
 URLScraperProvider
com.sun.portal:type=ChannelActionStatistic,channelAction=Content,
 name=CommunityPortlet,class=com.sun.portal.providers.portletwindow.
 PortletWindowProvider
com.sun.portal:type=ChannelActionStatistic,channelAction=Content,
 name=Documentation,class=com.sun.portal.providers.urlscraper.
 URLScraperProvider
com.sun.portal:type=ChannelActionStatistic,channelAction=Content,
 name=RedirectChannel,class=com.sun.portal.providers.jsp.JSPProvider
com.sun.portal:type=ChannelActionStatistic,channelAction=Content,
 name=CommunityAnonymousContainer,class=com.sun.portal.providers.container.
 jsp.table.JSPTableContainerProvider
com.sun.portal:type=ChannelActionStatistic,channelAction=Content,
 name=CommunityHomeContainer,class=com.sun.portal.providers.containers.
 jsp.table.JSPTableContainerProvider
com.sun.portal:type=ChannelActionStatistic,channelAction=Content,
 name=CommunityParentContainer,class=com.sun.portal.providers.containers.
 jsp.single.JSPSingleContainerProvider
com.sun.portal:type=ChannelActionStatistic,channelAction=Content,
name=CommunityMembershipPortlet,class=com.sun.portal.providers.
 portletwindow.PortletWindowProvider
com.sun.portal:type=ChannelActionStatistic,channelAction=Content,name=Login,
 class=com.sun.portal.providers.jsp.JSPProvider


Example 5–6 get-monitoring-mbean-names -u amadmin -f ./password -p portal1 -i nicp104_80 --name-properties "channelAction=Content,name=RedirectChannel"

This command outputs:


com.sun.portal:type=ChannelActionStatistic,channelAction=Content,
name=RedirectChannel,class=com.sun.portal.providers.jsp.JSPProvider


Example 5–7 get-monitoring-mbean-names -u amadmin -f ./password -p portal1 -i nicp104_80 --object-name "*:type=ConnectorServer

This command outputs:


com.sun.portal:type=ConnectorServer


Example 5–8 get-monitoring-mbean-names -u amadmin -f ./password -p portal1 -i nicp104_80 -v type=ChannelActionStatistic,channelAction=Content,name=Community

This command outputs


MBean ObjectName pattern is null
MBean type is null
MBean name-properties are null
MBean name reg-exp is type=ChannelActionStatistic,channelAction=Content,
name=Community
Connecting to Portal Admin Server
Connecting to Portal Admin Server...done
Querying MBean ObjectNames with pattern com.sun.portal:*
Filtering MBean ObjectNames with pattern [\S]*:type=ChannelActionStatistic,
 channelAction=Content,name=Community[\S]*
com.sun.portal:type=ChannelActionStatistic,channelAction=Content,
 name=CommunityMembershipPortlet,class=com.sun.portal.providers.portletwindow.
PortletWindowProvider
com.sun.portal:type=ChannelActionStatistic,channelAction=Content,
 name=CommunityPortlet,class=com.sun.portal.providers.portletwindow.
PortletWindowProvider
com.sun.portal:type=ChannelActionStatistic,channelAction=Content,
 name=CommunityAnonymousContainer,class=com.sun.portal.providers.containers.
 jsp.table.JSPTableContainerProvider
com.sun.portal:type=ChannelActionStatistic,channelAction=Content,
name=CommunityHomeContainer,class=com.sun.portal.providers.containers.
 jsp.table.JSPTableContainerProvider
com.sun.portal:type=ChannelActionStatistic,channelAction=Content,
 name=CommunityParentContainer,class=com.sun.portal.providers.containers.
 jsp.single.JSPSingleContainerProvider
Disconnecting from Portal Admin Server
Disconnecting from Portal Admin Server...done