1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 10:22:10 +02:00
tldr/pages.it/common/ab.md
Francesco Franchina 28c4d26221
pages.it/*: update path placeholders and "directory" translations (#9031)
- Replace "al" -> "del", "alla" -> "della", etc. in command paths
- Replace all instances of "cartella" with "directory"
- Update contributing-guides/translation-templates/common-arguments.md to
  reflect these changes

Co-authored-by: marchersimon <50295997+marchersimon@users.noreply.github.com>
Co-authored-by: Marco Bonelli <marco@mebeim.net>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2022-10-20 15:26:58 +02:00

759 B

ab

Strumento di benchmarking di Apache. Il più semplice modo per eseguire un test sul carico del server. Maggiori informazioni: https://httpd.apache.org/docs/current/programs/ab.html.

  • Esegui 100 richieste HTTP GET ad un dato URL:

ab -n {{100}} {{url}}

  • Esegui 100 richieste HTTP GET ad un dato URL, processandone fino a 10 contemporaneamente:

ab -n {{100}} -c {{10}} {{url}}

  • Esegui 100 richieste HTTP POST a un dato URL, utilizzando un payload JSON tramite file:

ab -n {{100}} -T {{application/json}} -p {{percorso/del/file.json}} {{url}}

  • Usa HTTP [K]eep Alive, ovvero esegui richieste multiple in una stessa sessione HTTP:

ab -k {{url}}

  • Setta il massimo numero di secondi per il benchmarking:

ab -t {{secondi}} {{url}}