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:[EMAIL PROTECTED] 
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:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

--
Unsubscribe mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

Reply via email to