ApacheBench result to a file

Posted by Tomaszs on Server Fault See other posts from Server Fault or by Tomaszs
Published on 2010-02-13T08:24:05Z Indexed on 2010/03/17 6:11 UTC
Read the original article Hit count: 407

Filed under:
|
|
|

I would like to save ApacheBench (ab) tool on linux to a file. When I run it with -v 2 it displays some results in my ssh window. How to move these data into a file and make sure that it will not display on ssh no more? I've tried > file.txt 2>&1 but it does not work and still display data in my ssh window.

I use:

ab -n 10000 -c 200 http://mywebsite.com > file.txt 2>&1

© Server Fault or respective owner

Related posts about apache

Related posts about benchmarks