Skip to Content
Nginx HTTP Server - Fourth Edition
book

Nginx HTTP Server - Fourth Edition

by Martin Bjerretoft Fjordvald, Nedelcu
February 2018
Beginner to intermediate
348 pages
9h 40m
English
Packt Publishing
Content preview from Nginx HTTP Server - Fourth Edition

Httperf

The httperf is a simple command-line tool that can be downloaded from its official website at http://www.hpl.hp.com/research/linux/httperf/ (it might also be available in the default repositories of your operating system). The source comes as a tar.gz archive and needs to be compiled using the standard method: ./configure, make, and make install.

Once installed, you may execute the following command:

[alex@example ~]$ httperf --server 192.168.1.10 --port 80 --uri /index.html --rate 300 --num-conn 30000 --num-call 1 --timeout 5

Replace the values in the preceding command with your own:

  • --server: The website hostname you wish to test
  • --uri: The path of the file that will be downloaded
  • --rate: How many requests should be sent every ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Nginx: From Beginner to Pro

Nginx: From Beginner to Pro

Rahul Soni
Nginx Essentials

Nginx Essentials

Valery Kholodkov, Valery I Kholodkov
SSH, The Secure Shell: The Definitive Guide, 2nd Edition

SSH, The Secure Shell: The Definitive Guide, 2nd Edition

Daniel J. Barrett, Richard E. Silverman, Robert G. Byrnes

Publisher Resources

ISBN: 9781788623551Other