[rrd-users] problem with 'cat file | rrdtool - ' syntax
unicsonline
unicsonline at gmail.com
Tue Jan 15 16:50:38 CET 2013
2013/1/15 Tobias Oetiker <tobi at oetiker.ch>
> Today unicsonline wrote:
>
> > Hello Tobi, and bravo for tour reactivity ;)
> >
> > That's means that my file must be composed with only one line beginning
> > with graph ??
>
> exactly!
>
> cheers
> tobi
>
> --
> 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
>
Ok.
I have solved my '/usr/bin/rrdtool: arg list too long' problem with this
mode.
For information I have used this simple command to pipe my orignal file to
rrdtool:
cat file| awk 'BEGIN{ORS=" "}{sub("[\\134]
*$","");gsub(",[\\134\134][*]",",*");print $0}' | rrdtool -
(just with removing of '\' present at end of line, and change of '\*' I add
in some rpn expressions to '*')
No problem with treatment of my file (659 lines, 30140 bytes)
Thanks a lot ;)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20130115/611ee4d4/attachment.htm
More information about the rrd-users
mailing list