[rrd-users] Re: rrdtool update problem

Leif Neland leif at neland.dk
Thu Oct 6 22:09:32 MEST 2005


Leonardo dos Santos Goldim wrote:
> hy all
> 
> i'm trying to update my rrdtool file but i receive the follow error:
> 
> ERROR: conversion of '1825K' to float not complete: tail 'K'
> 
> i'm getting the data from iptables rules:
> 
> 234K   27M            tcp  --  *      *       0.0.0.0/0

You must replace K with 000 and M with 000000

You probably already convert your data in some scripting language, you can
use a regexp.
With sed, the format is : sed 's/K/000/g ; s/M/000000/g'

Leif

--
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://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-users mailing list