The following snippet shows how a particular MBean can be reset
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 No MBeans reset ./psadmin get-monitoring-attributes -u amadmin -f ./password -p portal1 s -i nicp104_80 --name-properties "name=RedirectChannel" com.sun.portal:type=ChannelActionStatistic,channelAction=Content, name=RedirectChannel,class=com.sun.portal.providers.jsp.JSPProvider Count = 2 Description = Rolling average time to get fresh content for this channel LastSampleTime = 1129282758188 LastTime = 4 LowerBound = 100 MaxTime = 3179 MinTime = 4 Name = PS Channel Action Statistics: Content RollingAvgTime = 2120 StartTime = 1129214725856 TotalTime = 3183 Unit = RollingAvgTime UpperBound = 1000 ./psadmin reset-monitoring-mbeans -u amadmin -f ./password -p portal1 -i nicp104_80 --interactive --name-properties "name=RedirectChannel" 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]y com.sun.portal:type=ChannelActionStatistic,channelAction=Content, name=RedirectChannel,class=com.sun.portal.providers.jsp.JSPProvider MBean reset ./psadmin get-monitoring-attributes -u amadmin -f ./password -p portal1 -i nicp104_80 --name-properties "name=RedirectChannel" com.sun.portal:type=ChannelActionStatistic,channelAction=Content, name=RedirectChannel,class=com.sun.portal.providers.jsp.JSPProvider Count = 0 Description = Rolling average time to get fresh content for this channel LastSampleTime = 1129283756991 LastTime = 0 LowerBound = 100 MaxTime = 0 MinTime = 0 Name = PS Channel Action Statistics: Content RollingAvgTime = 0 StartTime = 1129283756991 TotalTime = 0 Unit = RollingAvgTime UpperBound = 1000 |