在 autobench 中将 --host1 指定为 localhost,端口为 8983
I am using autobench for benchmarking in ubuntu 8.10
autobench --single_host --host1 localhost --uri1 /solr/admin --low_rate 20 --high_rate 200 --rate_step 20 --num_call 10 --num_conn 5000 --timeout 5 --file bench1.tsv
是我下达的命令。它采用默认端口为 80,回复和请求的数量如下所示
**Errors: total 5000 client-timo 0 socket-timo 0 connrefused 5000 connreset 0
Errors: fd-unavail 0 addrunavail 0 ftab-full 0 other 0
Zero replies received, test invalid: rate 20
httperf --timeout=5 --client=0/1 --server=localhost --port=80 --uri=/solr/admin --rate=40 --send-buffer=4096 --recv-buffer=16384 --num-conns=5000 --num-calls=10
Maximum connect burst length: 4
Total: connections 5000 requests 0 replies 0 test-duration 124.976 s**
但是,我希望端口为 8983。在我在 autobench 教程中看到的所有示例中,--host1 是一个网站(例如例如,www.test.com)。谁能建议如何使用 localhost 将端口设置为 8983?提前致谢。
I am using autobench for benchmarking in ubuntu 8.10
autobench --single_host --host1 localhost --uri1 /solr/admin --low_rate 20 --high_rate 200 --rate_step 20 --num_call 10 --num_conn 5000 --timeout 5 --file bench1.tsv
This is the command which I gave. It is taking the default port as 80 and the number of replies and requests are as shown below
**Errors: total 5000 client-timo 0 socket-timo 0 connrefused 5000 connreset 0
Errors: fd-unavail 0 addrunavail 0 ftab-full 0 other 0
Zero replies received, test invalid: rate 20
httperf --timeout=5 --client=0/1 --server=localhost --port=80 --uri=/solr/admin --rate=40 --send-buffer=4096 --recv-buffer=16384 --num-conns=5000 --num-calls=10
Maximum connect burst length: 4
Total: connections 5000 requests 0 replies 0 test-duration 124.976 s**
But, I want the port to be 8983. In all the examples that I have seen in the autobench tutorial, --host1 is a website (such as, www.test.com). Can anyone suggest how to use localhost taking the port as 8983? Thanks, in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
然后你会看到
Then you will see