[mrtg] Re: Cisco 2600 memory usage

Fauteux, Joe Joe.Fauteux at Paymentech.com
Thu Mar 21 13:38:16 MET 2002


 the router names and community strings have been changed to protect the
innocent

# ROUTER1 MEMORY UTILIZATION
Target[ROUTER1-mem]:
1.3.6.1.4.1.9.9.48.1.1.1.5.1&1.3.6.1.4.1.9.9.48.1.1.1.5.1:FLINTSTONES at ROUTER
1
Options[ROUTER1-mem]: gauge, noinfo, absolute
Unscaled[ROUTER1-mem]: dwmy
Ylegend[ROUTER1-mem]: Memory Used
ShortLegend[ROUTER1-mem]:  
Colours[ROUTER1-mem]: BLUE#1000ff,BLUE#1000ff,BLUE#1000ff,BLUE#1000ff
LegendI[ROUTER1-mem]:  
LegendO[ROUTER1-mem]:
Legend1[ROUTER1-mem]: Memory in Use
MaxBytes[ROUTER1-mem]: 32768000
Title[ROUTER1-mem]: ROUTER1 (Memory Utilization)
PageTop[ROUTER1-mem]: <H3>ROUTER1 (Memory Utilization)</H3>
 <TABLE>
   <TR><TD>System:</TD><TD>ROUTER1 Memory w/32MB</TD></TR>
 </TABLE>                                                

-----Original Message-----
From: Handoyo Taher [mailto:handoyo at prima.net.id]
Sent: Thursday, March 21, 2002 1:00 AM
To: MRTG Mailinglist
Subject: [mrtg] Cisco 2600 memory usage



Hello All,

Is the any body out there know how to measure the occupancy of the memory
usage of the Ciscoo 2600 Series???

Need Help.

Cheers,
Handoyo

----- Original Message -----
From: "Jay Hennigan" <jay at west.net>
To: "Max Kipness II" <mkipness at aztechsolutions.com>
Cc: "MRTG Mailinglist" <mrtg at list.ee.ethz.ch>
Sent: Thursday, March 21, 2002 9:35 AM
Subject: [mrtg] Re: Need Bash help


>
> On Wed, 20 Mar 2002, Max Kipness II wrote:
>
> > Hello All,
> >
> > I've created a script that monitors the response time (latency) of DNS
> > servers and creates an MRTG graph out of it. I've got  most of it ironed
> > out, but am having a problem with multiplication in the script. The
> > bottom line is that I can't figure out how to multiply a decimal value.
> > I have posted below only a sample of the operation I'm trying to do
> > rather than the whole script. Here it is:
> >
> > #!/bin/bash
> > ARG2=.2
> > echo $(( 100 * $ARG2 ))
> >
> > This reports back an error. If you simply change it to read ARG2=2
> > (without the decimal), it works fine.
> >
> > Is there any way around this?
>
> Bash arithmetic expressions are long integers.  It won't work with
> decimal values.  For your specific example,
>
> #!/bin/bash
> ARG2=5
> echo $(( 100 / $ARG2 ))
>
> will work, but return only the integer portion of the result.  :-)
>
> --
> Jay Hennigan - CCIE #7880 - Network Administration - jay at west.net
> NetLojix Communications, Inc.  -  http://www.netlojix.com/
> WestNet:  Connecting you to the planet.  805 884-6323
>
>
> --
> Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
> Archive     http://www.ee.ethz.ch/~slist/mrtg
> FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
> WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi
>


--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list