rename arg name: --cpu-cores => --processes

This commit is contained in:
debugtalk
2018-04-11 22:53:46 +08:00
parent 3882f41614
commit ddfec58cc3
4 changed files with 23 additions and 23 deletions

View File

@@ -21,10 +21,10 @@ $ locusts -f examples/first-testcase.yml
In this case, you can reuse all features of [`Locust`][Locust].
Thats not all about it. With the argument `--cpu-cores`, you can even start locust with master and specified number of slaves (default to cpu cores number) at one time, which means you can leverage all cpus of your machine.
Thats not all about it. With the argument `--processes`, you can even start locust with master and specified number of slaves (default to cpu cores number) at one time, which means you can leverage all cpus of your machine.
```bash
$ locusts -f examples/first-testcase.yml --cpu-cores 4
$ locusts -f examples/first-testcase.yml --processes 4
[2017-08-26 23:51:47,071] bogon/INFO/locust.main: Starting web monitor at *:8089
[2017-08-26 23:51:47,075] bogon/INFO/locust.main: Starting Locust 0.8a2
[2017-08-26 23:51:47,078] bogon/INFO/locust.main: Starting Locust 0.8a2