1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 15:22:08 +02:00
tldr/pages.de/common/ab.md
Vitor Henrique c5508a288e
ab: add CSV example and update pt_BR translation (#11931)
* ab: add CSV example

* ab: update pt_BR translation

* ab: leave values as part of the commands
2023-12-31 12:48:26 +05:30

24 lines
621 B
Markdown

# ab
> Apache HTTP server Benchmarking Tool.
> Weitere Informationen: <https://httpd.apache.org/docs/current/programs/ab.html>.
- Sende 100 HTTP GET Anfragen an eine URL:
`ab -n 100 {{url}}`
- Sende 100 HTTP GET Anfragen an eine URL, wovon bis zu 10 gleichzeitig bearbeitet werden:
`ab -n 100 -c 10 {{url}}`
- Sende 100 HTTP POST Anfragen mit der in der angegebenen Datei gespeicherten Payload an eine URL:
`ab -n 100 -T {{application/json}} -p {{pfad/zu/datei.json}} {{url}}`
- Wach halten:
`ab -k {{url}}`
- Lege die maximale Anzahl an Sekunden fest, die das Benchmarking dauern darf:
`ab -t {{60}} {{url}}`