Thanks for your quick response.So you mean to say,

 y -- result at T1
 x -- result at T2
 t  -- T2 - T1

Final result will be a percentage of that corresponding object. Am i
right?..Lee.

Malar


On Wed, Jul 1, 2009 at 2:54 PM, Lee Standen <[email protected]>wrote:

>  Well it’s a basic change over time thing.
>
>
>
> y – x / t
>
>
>
> The problem with doing it yourself is you need to store the last value and
> the time when it was read, and then do the math… if you’re planning to graph
> that data, then you have to go a step further, and store all the figures
>
>
>
>
>
> *From:* malar vizhi [mailto:[email protected]]
> *Sent:* Wednesday, 1 July 2009 5:23 PM
> *To:* Lee Standen; [email protected]
> *Subject:* Re: How do I get percentage CPU utilization using ssCpuRawIdle?
>
>
>
> Thanks Lee....But am not using any third party tool to plot graph....We are
> using adobe flex for report module(plotting graph). So, those manipulations
> I have to do manually.It will be better for me If I get any idea on
> calculating those ticks & all...
>
> Thanks
> Malar
>
> On Wed, Jul 1, 2009 at 2:10 PM, Lee Standen <[email protected]>
> wrote:
>
> If you’re putting it into an RRD or something like that, then use a DERIVE
> or COUNTER data type.  That’ll do it all for you.
>
>
>
> If it’s the figures I think it is, then it’s basically the number of
> seconds (or fractions thereof) spent in each state since the system started
> up.
>
>
>
> I’ve just used RRD counters to get these graphs… no special manipulation of
> figures in the data gathering… the percentages are just calculated in the
> rrdgraph command...rrdtool takes care of working out the difference between
> the two figures based on the interval since the last set of data.
>
>
>
>
>
> *From:* malar vizhi [mailto:[email protected]]
> *Sent:* Wednesday, 1 July 2009 4:19 PM
> *To:* [email protected]
> *Subject:* How do I get percentage CPU utilization using ssCpuRawIdle?
>
>
>
> Hello folks,
>
> Am bit confused to calculate the percentage of ssCpuRawIdle or ssCpuRawNice
> or ssCpuRawSystem or ssCpuRawUser of host.
>
> I think ssCpuIdle will give exact percentage value which top command
> shows..but when we see the mib, it is deprecated one. So, We should start of
> using "raw counters". I came to know from net-snmp forums, need to take two
> readings of this object, and find the difference between them. That
> difference divided by the total number of 'ticks' between the two readings
> (probably 0.01 seconds) will give you the percentage utilization.
>
> And this is the forum where our Dave has replied as above...
>
> http://osdir.com/ml/network.net-snmp.user/2004-02/msg00369.html
>
> Where I have freezed is to calculate the total number of ticks...How should
> I calculate the total no of ticks?..or will it be always  0.01 seconds for
> all OS?...
>
> Thanks in Advance....
>
> Malar
>
>
>

<<image001.png>>

------------------------------------------------------------------------------
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to