cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2126
Views
0
Helpful
5
Replies

Clear resource usage counter on ACE module

patrik.spiess
Beginner
Beginner

Hi

Does anybody know how to clear the resource usage counter on an ACE module?

We use an ACE20-MOD-K2 with version A2(3.5).

Here you can see that after issuing 'clear stats resource-usage' the counters are still the same.

uzhlbsrv1/Admin# sh resource usage resource rate bandwidth

                                                     Allocation

        Resource         Current       Peak        Min        Max       Denied

-------------------------------------------------------------------------------

Context: Admin

  bandwidth                  1966       3971    7487500  625000028          0

Context: NOZONE

  bandwidth                     0       4450          0  617512528          0

Context: ZONE1

  bandwidth              14021827  549340375          0  617512528  192084322

Context: ZONE2

  bandwidth                197520   69634789          0  617512528      29385

Context: ZONE3

  bandwidth                 38756   78911285          0  617512528    6471653

Context: ZONE4

  bandwidth                     0       3052          0  617512528          0

uzhlbsrv1/Admin# clear stats resource-usage

uzhlbsrv1/Admin# sh resource usage resource rate bandwidth

                                                     Allocation

        Resource         Current       Peak        Min        Max       Denied

-------------------------------------------------------------------------------

Context: Admin

  bandwidth                   396        841    7487500  625000028          0

Context: NOZONE

  bandwidth                     0       4450          0  617512528          0

Context: ZONE1

  bandwidth               9350189  549340375          0  617512528  192084322

Context: ZONE2

  bandwidth                128087   69634789          0  617512528      29385

Context: ZONE3

  bandwidth                133229   78911285          0  617512528    6471653

Context: ZONE4

  bandwidth                     0       3052          0  617512528          0

Or is it a bug eventually?

Thanks

Patrik

5 Replies 5

asharmav
Beginner
Beginner

Hi Patrik,

What could one of the issue here is, if this box is in production and is being used, as soon as you clear the coutners, the new traffic is still flowing in, so ace will populate the new stats. if you take this box out of production then you should be able to see all the traffic gone.

Also to reinforce my previous argument, if you happen to see the stats second time, they are reduced , which will only point that the system is actively receiving and before you do a second show resource, it would have received some traffic and it will also take into account the existing traffic flow across the box.

Most likely not a Bug.

Regards

Abijith

So, your answer means that I have to take the box out of production to clear the counters?

Come on!

This is not really a way we can do it. There must be a way to clear the counters while the box is processing traffic.

Any other ideas?

Thanks

Patrik