mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-10-30 14:17:56 +01:00
ab: add Chinese translation
This commit is contained in:
parent
d6dd5f1b72
commit
0b7dc8f822
1 changed files with 19 additions and 0 deletions
19
pages.zh/common/ab.md
Normal file
19
pages.zh/common/ab.md
Normal file
|
@ -0,0 +1,19 @@
|
|||
# ab
|
||||
|
||||
> Apache基准测试工具.最简单的压力测试工具.
|
||||
|
||||
- 向目标URL执行100次HTTP GET请求:
|
||||
|
||||
`ab -n {{100}} {{url}}`
|
||||
|
||||
- 使用10个并发请求,同时向目标URL执行100次HTTP GET请求:
|
||||
|
||||
`ab -n {{100}} -c {{10}} {{url}}`
|
||||
|
||||
- 使用 keep alive:
|
||||
|
||||
`ab -k {{url}}`
|
||||
|
||||
- 为基准测试设置最大的测试时间(单位: 秒):
|
||||
|
||||
`ab -t {{60}} {{url}}`
|
Loading…
Reference in a new issue