調度機(Master)
locust -f xxx.py --master
nohup locust -f xxx.py --master > xxx.log 2>&1 &
執行機(Slave)
locust -f xxx.py --worker --master-host=172.16.2.xxx
nohup locust -f xxx.py --worker --master-host=172.16.2.xxx > xxx.log 2>&1 &
調度機(Master)
locust -f xxx.py --master
nohup locust -f xxx.py --master > xxx.log 2>&1 &
執行機(Slave)
locust -f xxx.py --worker --master-host=172.16.2.xxx
nohup locust -f xxx.py --worker --master-host=172.16.2.xxx > xxx.log 2>&1 &
https://blog.csdn.net/u013129300/article/details/129329786