TLDR
Enter a command. For example: nm, zek, scrcpy, openconnect, iverilog.

ab

 
Apache HTTP server benchmarking tool. More information: https://httpd.apache.org/docs/current/programs/ab.html.
 
  • Execute 100 HTTP GET requests to a given URL:
     
    ab -n {{100}} {{url}}
     
  • Execute 100 HTTP GET requests, in concurrent batches of 10, to a URL:
     
    ab -n {{100}} -c {{10}} {{url}}
     
  • Execute 100 HTTP POST requests to a URL, using a JSON payload from a file:
     
    ab -n {{100}} -T {{application/json}} -p {{path/to/file.json}} {{url}}
     
  • Use HTTP [K]eep Alive, i.e. perform multiple requests within one HTTP session:
     
    ab -k {{url}}
     
  • Set the maximum number of seconds to spend for benchmarking:
     
    ab -t {{60}} {{url}}

This is a tldr pages (source, CC BY 4.0) web wrapper for cheat-sheets.org. All commands, popular commands, most used linux commands. Referrals. Progressive Web Application (PWA) version to install on your device.