cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2143
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

Hi Patrik,

As long as you have existing connecions on the box, the box will continue to show them in the resource usage, else if we go by your choice of clearing the stats, the bandwidth utilization may show zero but the there will be bandwidth consumed, none of the customers want this misleading stats i guess.

You cannot expect the coutners to hit zero as long as you have traffic running through the box. The box is intelligent enough to pick up the actual resource usage and report it, even if the stats are being cleared.

What is the reason why you want to clear these counters without actually taking the box out .

Regards

Abijith

Hi Abijjth

Sorry, I was not clear enough. So you're absolutely right. The counters raise as soon as there is traffic.

But, what I want to clear is the 'Denied' counter in the above statistics. This counter should be zero during normal operation.

Any idea how to clear the 'Denied' column?

Thanks

Patrik

hi,

i know, it is late :)

"clear stats all"

 

Regards

Mesut

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: