+ result += "\nAll the operations described above can be used through the optional HTTP interface. You only have";
+ result += "\n to define the http server at the command line with something like: '-httpServer localhost:9000'.";
+ result += "\nTo send the task, we shall build the http request body with the operation string. Some examples";
+ result += "\n using curl client could be:";
+ result += "\n";
+ result += "\n curl -m 1 --data \"diameterServerSessions|4\" localhost:9000";
+ result += "\n curl -m 1 --data \"code|ccr.xml\" localhost:9000";
+ result += "\n curl -m 1 --data \"decode|ccr.hex\" localhost:9000";
+ result += "\n curl -m 1 --data \"sendxml2e|ccr.xml\" localhost:9000";
+ result += "\n etc.";
+ result += "\n";
+ result += "\n------------------------------------------------------------------------- Operations via SIGUSR2 signal";
+ result += "\n";
+ result += "\nThe alternative using SIGUSR2 signal requires the creation of the task(s) file which will be read at";
+ result += "\n signal event:";
+ result += "\n echo \"<<operation>\" > "; result += SIGUSR2_TASKS_INPUT_FILENAME;
+ result += "\n then";
+ result += "\n kill -12 <pid>";
+ result += "\n or";
+ result += "\n kill -s SIGUSR2 <pid>";
+ result += "\n and then see the results:";
+ result += "\n cat "; result += SIGUSR2_TASKS_OUTPUT_FILENAME;
+ result += "\n";
+ result += "\nYou could place more than one line (task) in the input file. Output reports will be appended in that";
+ result += "\n case over the output file. Take into account that all the content of the task file will be executed";
+ result += "\n sinchronously by the process. If you are planning traffic load, better use the asynchronous http";
+ result += "\n interface.";
+ result += "\n";
+ result += "\n";
+