[rrd-users] Re: Argument List too long?

Tobias Oetiker tobi at oetiker.ch
Mon Dec 18 18:05:54 MET 2006


Hi Dave,

if you use the rrdtool pipe mode then the limitations of your shell
will not apply!

cheers
tobi

Today Kant, D (Dave) wrote:

>
> My script is basically one very long line.
>
> #!/bin/sh
> /usr/bin/rrdtool graph site_disk_HMW6dFGqY4.png -t 'Used Disk Storage'
> -s -3m -w500 -h125 -l 0 DEF:A=A_multidisk.rrd:Used:MAX
> DEF:B=B_multidisk.rrd:Used:MAX ...
>
> I tried using "sed" to insert a line continuation character before each
> DEF and CDEF. The script then looks like this:-
>
> /usr/bin/rrdtool graph site_disk_HMW6dFGqY4.png -t 'Used Disk Storage'
> -s -3m -w500 -h125 -l 0 \
> DEF:A=A_multidisk.rrd:Used:MAX \
> DEF:B=B_multidisk.rrd:Used:MAX \
> ...
>
> However, I still get the error.
>
> Dave

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

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