Hi Dave,
you start the pipe mode with
rrdtool -
write a script with just the rrdtool commands
-
graph
-
and pipe it into rrdtool
cheers
tobi
--
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten
http://it.oetiker.ch [EMAIL PROTECTED] ++41 62 213 9902
--
Kant, D (Dave) wrote:
>I'm not sure I understand the correct format for invoking rrdtool's pipe mode.
>Do you mean something like this?
>
> rrdtool graph < my_long_arg_list.txt > out
>
>where my_long_arg_list.txt would look something like this?
>
>[]cat my_long_arg_list.txt
>site_disk_HMW6dFGqY4.
18 December 2006 17:06
To: Kant, D (Dave)
Cc: Andreas Maus; rrd-users@list.ee.ethz.ch
Subject: [rrd-users] Re: Argument List too long?
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
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 DE
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 CD
On Mon, Dec 18, 2006 at 03:52:38PM -, Kant, D (Dave) wrote:
Hi Dave.
> Hi there,
>
> ./tier2.sh: line 3: /usr/bin/rrdtool: Argument list too long
>
> We have an rrd script which attempts to graph over 600 data sources.
> Is there anyway to deal with the "Argument list too long" error?
> Is it