[rrd-users] rrdtool fetch: Where does the 'b' come from?

Tobias Oetiker tobi at oetiker.ch
Wed Apr 29 09:26:27 CEST 2009


Today Bredi wrote:

>
>
>
> Tobias Oetiker-3 wrote:
> >
> >> So ist it possible to suppress the name of the DS and the timestamp?
> >> I would like to have only the value!
> >
> > how about | tail -1 | awk '{print $2}'
> >
>
> I don't have a console/shell. It would be nice to get this with the librrd
> in Ansi C.

but librrd does not format the rrd_fetch output, the formatting is
only done for console output if you are calling the library
functions directly, you get the numbers and you should be all set.

cheers
tobi

>
> Best regards, Bredi.
>

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900



More information about the rrd-users mailing list