Marek,
On your remark:
>I have another question: when I'm running SIPp in background mode (-bg)
with "-trace_err" and "-trace_screen" options, the file names of the log
files are <scenario>_<PID-1>_screen.log and
<scenario>_<PID-1>_errors.log - it uses "PID-1" to create the file names
instead of "PID". Is this normal (feature) or a problem (bug)? If it is
a bug I'll have some work to do in my scripts once it is repaired...
Actually it won't always be PID-1, as it's the PID of the first process
started that is used.
Problem is that the file names are constructed (or at least the PID for
it requested) before going into background. When going into background,
the main process (with the PID from the file name) stops and a
background child continues the job.
If there have been no other processes created in between, the child will
have the next pid, thus giving -1, otherwise the gap might be larger.
Looking at sipp.cpp (around line 3900), it seems not that hard to move
the bg forward in the code, but it might give some interference in case
error (message)s are generated.
Best regards,
MarcVD
(-: from Marc VAN DIEST (BELGACOM) -)
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users