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

Reply via email to