[httperf] [PATCH] Run multiple clients from one machine

Martin Arlitt arlitt@granite.hpl.hp.com
Tue, 21 Oct 2003 06:32:15 -0700 (PDT)


hi Ian

I think a lot of people will be interested in this.  thanks for sharing.

Martin


On Tue, 21 Oct 2003, Ian Wienand wrote:

> Hi,
>
> I've been using httperf and wanted a way to start a number of clients
> from a single machine.
>
> I added a program called 'httperfctl' and two flags to httperf
> '--listen' and '--daemon'.
>
> --listen puts httperf in 'listen' mode, where httperfctl can connect
> to it and send it the argv to execute, basically.  --daemon makes it
> leave the terminal.
>
> httperfctl takes clients with -c and anything after a '--' get passed
> as arguments to the clients.  The clients then pipe all their output
> back to httperfctl which writes them out to log files, for which there
> are some options to name them etc.
>
> It shouldn't let two jobs run at once, and if the server is quit with
> ctrl-c it should try to quit all client instances running.
>
> This has been working well for me over the past few days with a few
> machines.  I hope it can be useful to someone else too!
>
> Thanks,
>
> -i
> ianw@gelato.unsw.edu.au
> http://www.gelato.unsw.edu.au
>