Returns MBean attribute values for Portal Server MBeans periodically. Returns MBean attribute values for identified MBeans every interval-seconds. A set of MBeans is first determined based on given type and name key properties, or given JMX ObjectName pattern.
If no option values or operand are specified, then the command returns ObjectNames of all MBeans registered with the Portal Server instance or the Portal Server Secure Remote Access instance. If the --type and --name-properties, --object-name options are specified, only the object-name option is considered for the operation.
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 attribute name regular expression is not specified, then all attribute values for a MBean are returned.
psadmin log-monitoring-attributes --adminuser uid --passwordfile password-filename [--portal portal-ID] | [--proxy-type sra-proxy-type ] --instance instance-ID --period interval-seconds [--type type-name-property [--name-properties mbean-name-properties ] | [--object-name mbean-object-name ] [--interactive] [ --output output-filename] [ --verbose] [attribute-name-regexp]
psadmin log-monitoring-attributes -u uid-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.
Specifies interval in seconds between two fetch attribute requests to identified MBeans.
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.
Prompts for user confirmation to confirm getting attribute values for the selected MBean.
Names the output file.
Shows progression of command.
The following operand is available:
Specifies ajava.util.regex regular expression as an operand to filter attribute names you are querying for values.
This command outputs:
com.sun.portal:type=ChannelActionStatistic,channelAction=Content, name=Introduction, class=com.sun.portal.providers.urlscraper.URLScraperProvider|Count| Description|LastSampleTime|LastTime|LowerBound|MaxTime|MinTime|Name| RollingAvgTime|StartTime|TotalTime|Unit|UpperBound 1129282706283|2|Rolling average time to get fresh content for this channel| 1129214762259|94|100|1070|94|PS Channel Action Statistics: Content| 744|1129214743642|1164|RollingAvgTime|1000 com.sun.portal:type=ChannelActionStatistic,channelAction=Content, name=RedirectChannel,class=com.sun.portal.providers.jsp.JSPProvider| Count|Description|LastSampleTime|LastTime|LowerBound|MaxTime|MinTime| Name|RollingAvgTime|StartTime|TotalTime|Unit|UpperBound 1129282706578|1|Rolling average time to get fresh content for this channel| 1129214725863|3179|100|3179|0|PS Channel Action Statistics: Content| 3179|1129214725856|3179|RollingAvgTime|1000 com.sun.portal:type=ChannelActionStatistic,channelAction=Content, name=Documentation,class=com.sun.portal.providers.urlscraper. URLScraperProvider|Count|Description|LastSampleTime|LastTime|LowerBound| MaxTime|MinTime|Name|RollingAvgTime|StartTime|TotalTime|Unit|UpperBound 1129282706829|2|Rolling average time to get fresh content for this channel| 1129214762260|93|100|1494|93|PS Channel Action Statistics: Content|1027| 1129214744071|1587|RollingAvgTime|1000 com.sun.portal:type=ChannelActionStatistic,channelAction=Content, name=CommunityPortlet,class=com.sun.portal.providers.portletwindow. PortletWindowProvider|Count|Description|LastSampleTime|LastTime|LowerBound |MaxTime| MinTime|Name|RollingAvgTime|StartTime|TotalTime|Unit|UpperBound 1129282707068|1|Rolling average time to get fresh content for this channel| 1129214772705|10388|100|10388|0|PS Channel Action Statistics: Content|10388| 1129214772703|10388|RollingAvgTime|1000 com.sun.portal:type=ChannelActionStatistic,channelAction=Content, name=CommunityAnonymousContainer,class=com.sun.portal.providers.containers. jsp.table.JSPTableContainerProvider|Count|Description|LastSampleTime| LastTime|LowerBound|MaxTime|MinTime|Name|RollingAvgTime|StartTime|TotalTime| Unit|UpperBound 1129282707308|1|Rolling average time to get fresh content for this channel| 1129214744288|1837|100|1837|0|PS Channel Action Statistics: Content|1837| 1129214744287|1837|RollingAvgTime|1000 com.sun.portal:type=ChannelActionStatistic,channelAction=Content, name=CommunityHomeContainer,class=com.sun.portal.providers.containers.jsp. table.JSPTableContainerProvider|Count|Description|LastSampleTime|LastTime| LowerBound|MaxTime|MinTime|Name|RollingAvgTime|StartTime|TotalTime|Unit| UpperBound 1129282707597|1|Rolling average time to get fresh content for this channel| 1129214772706|10544|100|10544|0|PS Channel Action Statistics: Content|10544| 1129214772705|10544|RollingAvgTime|1000 com.sun.portal:type=ChannelActionStatistic,channelAction=Content, name=Login,class=com.sun.portal.providers.jsp.JSPProvider|Count|Description| LastSampleTime|LastTime|LowerBound|MaxTime|MinTime|Name|RollingAvgTime| StartTime|TotalTime|Unit|UpperBound 1129282707829|1|Rolling average time to get fresh content for this channel| 1129214744286|1784|100|1784|0|PS Channel Action Statistics: Content|1784| 1129214744285|1784|RollingAvgTime|1000 com.sun.portal:type=ChannelActionStatistic,channelAction=Content, name=CommunityMembershipPortlet,class=com.sun.portal.providers.portletwindow. PortletWindowProvider|Count|Description|LastSampleTime|LastTime|LowerBound| MaxTime|MinTime|Name|RollingAvgTime|StartTime|TotalTime|Unit|UpperBound 1129282708074|1|Rolling average time to get fresh content for this channel| 1129214765880|3575|100|3575|0|PS Channel Action Statistics: Content|3575| 1129214765879|3575|RollingAvgTime|1000 com.sun.portal:type=ChannelActionStatistic,channelAction=Content, name=CommunityParentContainer,class=com.sun.portal.providers.containers.jsp. single.JSPSingleContainerProvider|Count|Description|LastSampleTime|LastTime| LowerBound|MaxTime|MinTime|Name|RollingAvgTime|StartTime|TotalTime|Unit| UpperBound 1129282708310|2|Rolling average time to get fresh content for this channel| 1129214775544|14849|100|14849|0|PS Channel Action Statistics: Content|14451| 1129214747977|29102|RollingAvgTime|1000 Please type <exit> when you want to stop logging monitoring attributes com.sun.portal:type=ChannelActionStatistic,channelAction=Content, name=Introduction,class=com.sun.portal.providers.urlscraper. URLScraperProvider|Count|Description|LastSampleTime|LastTime|LowerBound| MaxTime|MinTime| Name|RollingAvgTime|StartTime|TotalTime|Unit|UpperBound 1129282739968|2|Rolling average time to get fresh content for this channel| 1129214762259|94|100|1070|94|PS Channel Action Statistics: Content|744| 1129214743642|1164|RollingAvgTime|1000 com.sun.portal:type=ChannelActionStatistic,channelAction=Content, name=RedirectChannel,class=com.sun.portal.providers.jsp.JSPProvider|Count| Description|LastSampleTime|LastTime|LowerBound|MaxTime|MinTime|Name| RollingAvgTime|StartTime|TotalTime|Unit|UpperBound 1129282740212|1|Rolling average time to get fresh content for this channel| 1129214725863|3179|100|3179|0|PS Channel Action Statistics: Content|3179| 1129214725856|3179|RollingAvgTime|1000 com.sun.portal:type=ChannelActionStatistic,channelAction=Content, name=Documentation,class=com.sun.portal.providers.urlscraper. URLScraperProvider|Count|Description|LastSampleTime|LastTime|LowerBound| MaxTime|MinTime|Name|RollingAvgTime|StartTime|TotalTime|Unit|UpperBound 1129282740456|2|Rolling average time to get fresh content for this channel| 1129214762260|93|100|1494|93|PS Channel Action Statistics: Content|1027| 1129214744071|1587|RollingAvgTime|1000 com.sun.portal:type=ChannelActionStatistic,channelAction=Content, name=CommunityPortlet,class=com.sun.portal.providers.portletwindow. PortletWindowProvider|Count|Description|LastSampleTime|LastTime|LowerBound| MaxTime|MinTime|Name|RollingAvgTime|StartTime|TotalTime|Unit|UpperBound 1129282740688|1|Rolling average time to get fresh content for this channel| 1129214772705|10388|100|10388|0|PS Channel Action Statistics: Content|10388| 1129214772703|10388|RollingAvgTime|1000 com.sun.portal:type=ChannelActionStatistic,channelAction=Content, name=CommunityAnonymousContainer,class=com.sun.portal.providers.containers. jsp.table.JSPTableContainerProvider|Count|Description|LastSampleTime |LastTime|LowerBound|MaxTime|MinTime|Name|RollingAvgTime|StartTime| TotalTime|Unit|UpperBound 1129282740956|1|Rolling average time to get fresh content for this channel| 1129214744288|1837|100|1837|0|PS Channel Action Statistics: Content|1837| 1129214744287|1837|RollingAvgTime|1000 com.sun.portal:type=ChannelActionStatistic,channelAction=Content, name=CommunityHomeContainer,class=com.sun.portal.providers.containers.jsp. table.JSPTableContainerProvider|Count|Description|LastSampleTime|LastTime| LowerBound|MaxTime|MinTime|Name|RollingAvgTime|StartTime|TotalTime |Unit|UpperBound 1129282741187|1|Rolling average time to get fresh content for this channel| 1129214772706|10544|100|10544|0|PS Channel Action Statistics: Content|10544| 1129214772705|10544|RollingAvgTime|1000 com.sun.portal:type=ChannelActionStatistic,channelAction=Content, name=Login,class=com.sun.portal.providers.jsp.JSPProvider|Count|Description| LastSampleTime|LastTime|LowerBound|MaxTime|MinTime|Name|RollingAvgTime| StartTime|TotalTime|Unit|UpperBound 1129282741459|1|Rolling average time to get fresh content for this channel| 1129214744286|1784|100|1784|0|PS Channel Action Statistics: Content|1784| 1129214744285|1784|RollingAvgTime|1000 com.sun.portal:type=ChannelActionStatistic,channelAction=Content, name=CommunityMembershipPortlet,class=com.sun.portal.providers.portletwindow. PortletWindowProvider|Count|Description|LastSampleTime|LastTime|LowerBound| MaxTime|MinTime|Name|RollingAvgTime|StartTime|TotalTime|Unit|UpperBound 1129282741691|1|Rolling average time to get fresh content for this channel| 1129214765880|3575|100|3575|0|PS Channel Action Statistics: Content|3575| 1129214765879|3575|RollingAvgTime|1000 com.sun.portal:type=ChannelActionStatistic,channelAction=Content, name=CommunityParentContainer,class=com.sun.portal.providers.containers.jsp. single.JSPSingleContainerProvider|Count|Description|LastSampleTime|LastTime| LowerBound|MaxTime|MinTime|Name|RollingAvgTime|StartTime|TotalTime|Unit| UpperBound 1129282742005|2|Rolling average time to get fresh content for this channel| 1129214775544|14849|100|14849|0|PS Channel Action Statistics: Content|14451| 1129214747977|29102|RollingAvgTime|1000 Please type <exit> when you want to stop logging monitoring attributes com.sun.portal:type=ChannelActionStatistic,channelAction=Content, name=Introduction,class=com.sun.portal.providers.urlscraper. URLScraperProvider|Count|Description|LastSampleTime|LastTime|LowerBound |MaxTime|MinTime| Name|RollingAvgTime|StartTime|TotalTime|Unit|UpperBound 1129282773679|2|Rolling average time to get fresh content for this channel| 1129214762259|94|100|1070|94|PS Channel Action Statistics: Content|744| 1129214743642|1164|RollingAvgTime|1000 com.sun.portal:type=ChannelActionStatistic,channelAction=Content, name=RedirectChannel,class=com.sun.portal.providers.jsp.JSPProvider|Count| Description|LastSampleTime|LastTime|LowerBound|MaxTime|MinTime|Name| RollingAvgTime|StartTime|TotalTime|Unit|UpperBound 1129282773913|2|Rolling average time to get fresh content for this channel| 1129282758188|4|100|3179|4|PS Channel Action Statistics: Content|2120| 1129214725856|3183|RollingAvgTime|1000 com.sun.portal:type=ChannelActionStatistic,channelAction=Content, name=Documentation,class=com.sun.portal.providers.urlscraper. URLScraperProvider|Count|Description|LastSampleTime|LastTime|LowerBound |MaxTime|MinTime| Name|RollingAvgTime|StartTime|TotalTime|Unit|UpperBound 1129282774175|2|Rolling average time to get fresh content for this channel| 1129214762260|93|100|1494|93|PS Channel Action Statistics: Content|1027| 1129214744071|1587|RollingAvgTime|1000 com.sun.portal:type=ChannelActionStatistic,channelAction=Content, name=CommunityPortlet,class=com.sun.portal.providers.portletwindow. PortletWindowProvider|Count|Description|LastSampleTime|LastTime|LowerBound| MaxTime|MinTime|Name|RollingAvgTime|StartTime|TotalTime|Unit|UpperBound 1129282774420|1|Rolling average time to get fresh content for this channel| 1129214772705|10388|100|10388|0|PS Channel Action Statistics: Content|10388| 1129214772703|10388|RollingAvgTime|1000 com.sun.portal:type=ChannelActionStatistic,channelAction=Content, name=CommunityAnonymousContainer,class=com.sun.portal.providers.containers. jsp.table.JSPTableContainerProvider|Count|Description|LastSampleTime| LastTime|LowerBound|MaxTime|MinTime|Name|RollingAvgTime|StartTime| TotalTime|Unit| UpperBound 1129282774662|1|Rolling average time to get fresh content for this channel| 1129214744288|1837|100|1837|0|PS Channel Action Statistics: Content|1837| 1129214744287|1837|RollingAvgTime|1000 com.sun.portal:type=ChannelActionStatistic,channelAction=Content, name=CommunityHomeContainer,class=com.sun.portal.providers.containers.jsp. table.JSPTableContainerProvider|Count|Description|LastSampleTime|LastTime| LowerBound|MaxTime|MinTime|Name|RollingAvgTime|StartTime|TotalTime|Unit| UpperBound 1129282774983|1|Rolling average time to get fresh content for this channel| 1129214772706|10544|100|10544|0|PS Channel Action Statistics: Content|10544| 1129214772705|10544|RollingAvgTime|1000 com.sun.portal:type=ChannelActionStatistic,channelAction=Content,name=Login, class=com.sun.portal.providers.jsp.JSPProvider|Count|Description| LastSampleTime|LastTime|LowerBound|MaxTime|MinTime|Name|RollingAvgTime| StartTime|TotalTime|Unit|UpperBound 1129282775563|1|Rolling average time to get fresh content for this channel| 1129214744286|1784|100|1784|0|PS Channel Action Statistics: Content|1784| 1129214744285|1784|RollingAvgTime|1000 com.sun.portal:type=ChannelActionStatistic,channelAction=Content, name=CommunityMembershipPortlet,class=com.sun.portal.providers.portletwindow. PortletWindowProvider|Count|Description|LastSampleTime|LastTime|LowerBound| MaxTime|MinTime|Name|RollingAvgTime|StartTime|TotalTime|Unit|UpperBound 1129282775793|1|Rolling average time to get fresh content for this channel| 1129214765880|3575|100|3575|0|PS Channel Action Statistics: Content|3575| 1129214765879|3575|RollingAvgTime|1000 com.sun.portal:type=ChannelActionStatistic,channelAction=Content, name=CommunityParentContainer,class=com.sun.portal.providers.containers. jsp.single. JSPSingleContainerProvider|Count|Description|LastSampleTime|LastTime| LowerBound|MaxTime|MinTime|Name|RollingAvgTime|StartTime|TotalTime|Unit| UpperBound 1129282776074|2|Rolling average time to get fresh content for this channel| 1129214775544|14849|100|14849|0|PS Channel Action Statistics: Content|14451| 1129214747977|29102|RollingAvgTime|1000 Please type <exit> when you want to stop logging monitoring attributes com.sun.portal:type=ChannelActionStatistic,channelAction=Content, name=Introduction,class=com.sun.portal.providers.urlscraper. URLScraperProvider|Count|Description|LastSampleTime|LastTime|LowerBound| MaxTime|MinTime|Name|RollingAvgTime| StartTime|TotalTime|Unit|UpperBound 1129282807696|2|Rolling average time to get fresh content for this channel|1129214762259|94|100|1070|94 |PS Channel Action Statistics: Content|744|1129214743642|1164| RollingAvgTime|1000 com.sun.portal:type=ChannelActionStatistic,channelAction=Content, name=RedirectChannel,class=com.sun.portal.providers.jsp.JSPProvider| Count|Description|LastSampleTime|LastTime|LowerBound|MaxTime|MinTime|Name| RollingAvgTime|StartTime|TotalTime|Unit|UpperBound 1129282807921|2|Rolling average time to get fresh content for this channel| 1129282758188|4|100|3179|4|PS Channel Action Statistics: Content|2120| 1129214725856|3183|RollingAvgTime|1000 com.sun.portal:type=ChannelActionStatistic,channelAction=Content ,name=Documentation,class=com.sun.portal.providers.urlscraper. URLScraperProvider| Count|Description|LastSampleTime|LastTime|LowerBound|MaxTime|MinTime| Name|RollingAvgTime|StartTime|TotalTime|Unit|UpperBound 1129282808136|2|Rolling average time to get fresh content for this channel| 1129214762260|93|100|1494|93|PS Channel Action Statistics: Content|1027| 1129214744071|1587|RollingAvgTime|1000 com.sun.portal:type=ChannelActionStatistic,channelAction=Content, name=CommunityPortlet,class=com.sun.portal.providers.portletwindow. PortletWindowProvider| Count|Description|LastSampleTime|LastTime|LowerBound|MaxTime|MinTime|Name| RollingAvgTime|StartTime|TotalTime|Unit|UpperBound 1129282808351|1|Rolling average time to get fresh content for this channel| 1129214772705|10388|100|10388|0|PS Channel Action Statistics: Content|10388| 1129214772703|10388|RollingAvgTime|1000 com.sun.portal:type=ChannelActionStatistic,channelAction=Content, name=CommunityAnonymousContainer,class=com.sun.portal.providers.containers. jsp.table.JSPTableContainerProvider|Count|Description|LastSampleTime|LastTime| LowerBound|MaxTime|MinTime|Name|RollingAvgTime|StartTime|TotalTime|Unit| UpperBound 1129282808568|1|Rolling average time to get fresh content for this channel|1129214744288|1837|100|1837|0|PS Channel Action Statistics: Content| 1837|1129214744287|1837|RollingAvgTime|1000 com.sun.portal:type=ChannelActionStatistic,channelAction=Content, name=CommunityHomeContainer,class=com.sun.portal.providers.containers. jsp.table.JSPTableContainerProvider|Count|Description|LastSampleTime|LastTime| LowerBound|MaxTime|MinTime|Name|RollingAvgTime|StartTime|TotalTime|Unit| UpperBound 1129282808788|1|Rolling average time to get fresh content for this channel| 1129214772706|10544|100|10544|0|PS Channel Action Statistics: Content|10544| 1129214772705|10544|RollingAvgTime|1000 com.sun.portal:type=ChannelActionStatistic,channelAction=Content,name=Login, class=com.sun.portal.providers.jsp.JSPProvider|Count|Description| LastSampleTime|LastTime|LowerBound|MaxTime|MinTime|Name|RollingAvgTime| StartTime|TotalTime|Unit|UpperBound 1129282809056|1|Rolling average time to get fresh content for this channel| 1129214744286|1784|100|1784|0|PS Channel Action Statistics: Content|1784|1129214744285|1784|RollingAvgTime|1000 com.sun.portal:type=ChannelActionStatistic,channelAction=Content ,name=CommunityMembershipPortlet,class=com.sun.portal.providers.portletwindow. PortletWindowProvider|Count|Description|LastSampleTime|LastTime|LowerBound|Max Time|MinTime|Name|RollingAvgTime|StartTime|TotalTime|Unit|UpperBound 1129282809278|1|Rolling average time to get fresh content for this channel|112 9214765880|3575|100|3575|0|PS Channel Action Statistics: Content|3575|11292147 65879|3575|RollingAvgTime|1000 com.sun.portal:type=ChannelActionStatistic,channelAction=Content, name=CommunityParentContainer,class=com.sun.portal.providers.containers.jsp .single.JSPSingleContainerProvider|Count|Description|LastSampleTime|LastTime| LowerBound|MaxTime|MinTime|Name|RollingAvgTime|StartTime|TotalTime|Unit| UpperBound 1129282809494|2|Rolling average time to get fresh content for this channel| 1129214775544|14849|100|14849|0|PS Channel Action Statistics: Content|14451| 1129214747977|29102|RollingAvgTime|1000 Please type <exit> when you want to stop logging monitoring attributes exit Do you really want to exit? [y/n] y |
This command outputs:
com.sun.portal:type=ChannelActionStatistic,channelAction=Content, name=RedirectChannel,class=com.sun.portal.providers.jsp.JSPProvider| Count|Description|LastSampleTime|LastTime|LowerBound|MaxTime|MinTime |Name|RollingAvgTime|StartTime|TotalTime|Unit|UpperBound 1129282962603|2|Rolling average time to get fresh content for this channel| 1129282758188|4|100|3179|4|PS Channel Action Statistics: Content|2120| 1129214725856|3183|RollingAvgTime|1000 Please type <exit> when you want to stop logging monitoring attributes 1129282994319|2|Rolling average time to get fresh content for this channel| 1129282758188|4|100|3179|4|PS Channel Action Statistics: Content|2120| 1129214725856|3183|RollingAvgTime|1000 Please type <exit> when you want to stop logging monitoring attributes 1129283025953|2|Rolling average time to get fresh content for this channel| 1129282758188|4|100|3179|4|PS Channel Action Statistics: Content|2120|1 129214725856|3183|RollingAvgTime|1000 Please type <exit> when you want to stop logging monitoring attributes 1129283057584|2|Rolling average time to get fresh content for this channel| 1129282758188|4|100|3179|4|PS Channel Action Statistics: Content|2120| 1129214725856|3183|RollingAvgTime|1000 Please type <exit> when you want to stop logging monitoring attributes exit Do you really want to exit? [y/n] y |