Hi,
Well, I needed send the statistics in runtime into a pipe. Without
headers, in specific format I needed. Perhaps I should have added extra
switches to modify format .txt instead, you are right. Now I have
patched curl-loader to add -x command line option to specify the path to
the pipe.
But I agree it is not the cleanest solution, proper way to do it is to
add a command line key to specify path to .txt file and a key to modify
output format. My requirements were: it has to be one line per event,
and it has to be easily parseable, and include parameter names along
with values. I am running curl-loaders across a number of the machines
and need this kind of output to easily aggregate statistics from all
processes. Perhaps there is a simpler way to do the same?
Regards,
Alex
>>I have customized it to output its statistics in a machine parseable
>>form (see the attached patch in case you find this feature useful).
>
>
> Thank you for your suggestion and the patch against recent svn.
>
> There is some regular statistics output to file named:
> <batch_name>.txt. Could you, please, explain a bit, what is
> incorrect or inconvenient with the output?
>
Regards,
Alex
|