Search code examples
linuxbashload-testingapachebench

ApacheBench result to a file


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 but it does not work and still display data in my ssh window.


Solution

  • Try putting "2>&1" after "> file.txt".