CPU Graph shows Megs not %

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
troycoulombe
Posts: 2
Joined: Fri Dec 05, 2008 6:24 pm

CPU Graph shows Megs not %

Post by troycoulombe »

I have a quite a few Cisco 2821 routers;
The --CPU USAGE-- graph for one particular router in which it shows the Y-axis in what appears to be "megs"

as in::

800m
600m
400m
200m

rather than the typical % of:::

50
40
30
20
10



Thoughts on what causes this?

Many thanks,
TroyC
troycoulombe
Posts: 2
Joined: Fri Dec 05, 2008 6:24 pm

Replying to myself...but

Post by troycoulombe »

here's a bit more info...


Router that graph is NOT showing up properly...

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=1228506431 \
--end=1228520831 \
--title="cp1aqu-vrtr02 - CPU Usage" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
COMMENT:"From 2008/12/05 14\:47\:11 To 2008/12/05 18\:47\:11\c" \
COMMENT:" \n" \
--vertical-label="percent" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a="/var/lib/cacti/rra/cp1aqu-vrtr02_5min_cpu_2284.rrd":5min_cpu:AVERAGE \
DEF:b="/var/lib/cacti/rra/cp1aqu-vrtr02_5min_cpu_2284.rrd":5min_cpu:MAX \
AREA:a#00BBB4FF:"CPU Usage" \
GPRINT:a:LAST:"Current\:%8.0lf" \
GPRINT:a:AVERAGE:"Average\:%8.0lf" \
GPRINT:b:MAX:"Maximum\:%8.0lf"




Router that graph is showing up properly...

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=1228506462 \
--end=1228520862 \
--title="cp1aqu-vrtr01 - CPU Usage" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
COMMENT:"From 2008/12/05 14\:47\:42 To 2008/12/05 18\:47\:42\c" \
COMMENT:" \n" \
--vertical-label="percent" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a="/var/lib/cacti/rra/cp1aqu-vrtr01_5min_cpu_2280.rrd":5min_cpu:AVERAGE \
DEF:b="/var/lib/cacti/rra/cp1aqu-vrtr01_5min_cpu_2280.rrd":5min_cpu:MAX \
AREA:a#FF0000FF:"CPU Usage" \
GPRINT:a:LAST:"Current\:%8.0lf" \
GPRINT:a:AVERAGE:"Average\:%8.0lf" \
GPRINT:b:MAX:"Maximum\:%8.0lf"
IlPini
Posts: 33
Joined: Thu Jun 05, 2008 11:52 am
Location: Rome, Italy

Re: CPU Graph shows Megs not %

Post by IlPini »

troycoulombe wrote:in what appears to be "megs"

as in::

800m
That's not mega-, it's milli-.
Eight hundred "millipercent", or something like that.
In other words, 0.8%, that is, slightly less than one percent.


Mega-'s symbol is actually M, capital.


HTH.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests