[rrd-users] Re: the messege segmentation fault

Warnes, Jason SktnHR jason.warnes at saskatoonhealthregion.ca
Fri Feb 14 22:28:49 MET 2003


I haven't seen some of the switches you're using for the creation of your
RRD.  From the man page for 'rrdtool create' there is no '--lazy', there is
no '-e', and there is no '-s'.  There is a '--start' and '-b' switch which
may be what you want to use instead of the '-s' swich you're using during
the creation of your RRD.  But the command line switches you are using for
the RRD graphing functions look fine.  

Segementation faults usually happen when a program tries to reference an
area of memory that hasn't been allocated to it.  See the Jargon Dictionary
(http://info.astrian.net/jargon/terms/s/segmentation_fault.html).  Have any
shared libraries changed on your system recently?  I can't remember is
RRDTool uses static libraries or shared during compilation.  Maybe another
program was installed that overwrote a shared library.  Maybe try
recompiling and reinstalling RRDTool again and see if it still gives you
problems.

Jason...

-----Original Message-----
From: adi [mailto:aadi2010 at hotpop.com] 
Sent: Thursday, February 13, 2003 12:37 PM
To: milis rrdtool
Subject: [rrd-users] the messege segmentation fault



Dear Friend , please correct me, where is the wrong, cause when complience
../rrdtool graph always message Segmentation fault

plase help me

./rrdtool create --lazy -s -6h5min -e -5min mouse.rrd
DS:http_in:COUNTER:600:U:12500000 
DS:http_out:COUNTER:600:U:12500000 
RRA:AVERAGE:0.5:1:600 
RRA:AVERAGE:0.5:6:700 
RRA:AVERAGE:0.5:24:775 
RRA:AVERAGE:0.5:288:797 
RRA:MAX:0.5:1:600 
RRA:MAX:0.5:6:700 
RRA:MAX:0.5:24:775 
RRA:MAX:0.5:288:797

the trouble is when i make this graph 
./rrdtool graph mos.png --lazy -s -6h5min -e -5min -v 'Bit Per Second'
DEF:in=/usr/local/rrdtool-1.0.40/bin/mouse.rrd:http_in:AVERAGE
DEF:out=/usr/local/rrdtool-1.0.40/bin/mouse.rrd:http_out:AVERAGE
CDEF:out_bits=out,8,* 
CDEF:in_bits=in,8,* 
AREA:in_bits#00FF00 
LINE1:out_bits#0000FF

thank's
adi


--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list