[rrd-users] Re: 2 basic questions

alex at ergens.op.Het.Net alex at ergens.op.Het.Net
Mon Apr 3 23:38:00 MEST 2000


Scott Lipcon wrote:

> - how do I use the VRULE command to draw a line at 
> midnight?

By calculating the time for midnight in the unix standard
"seconds since epoch" time.  There are several utilities who can do
this and AFAIK there is a perl module.  I would use gnu date :

   [alex at home /usr/alex]$ date -d 00:00 +%s
   954712800

It would be "VRULE:`/bin/date -d 00:00 +%s`#FF0000:midnight"

> - how do I control the units that are labeled on the
> y axis?  I have a load average graph that is labeling
> the y axis 100m, 200m, etc.  I'd rather it just used
> .1, .2, etc..

I'm not sure about this one...  perhaps alt-autoscale will do something
like this but I'm rather pessimistic...

regards,
-- 
   __________________________________________________________________
 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |
+----------------------------------------------------------------------+

--
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



More information about the rrd-users mailing list