Skip to content

v3.2 CLI

Andrey Kurilov edited this page Feb 22, 2017 · 1 revision

GNU style command line arguments are used instead of passing the configuration values via JVM arguments.

Example for mongoose 2.x.x:

java -Dload.type=read -Ditem.src.file=items.csv -Dload.threads=10 -Dauth.id=user1 -Dauth.secret=ChangeIt -Dstorage.addrs=10.20.30.40,10.20.30.41 -jar mongoose-2.x.x/mongoose.jar

The same using mongoose 3.x.x:

java -jar mongoose-3.2.0/mongoose.jar --read --item-input-file=items.csv --load-concurrency=10 --storage-auth-id=user1 --storage-auth-secret=ChangeIt --storage-net-node-addrs=10.20.30.40,10.20.30.41

Note: To find all available CLI options please refer to Configuration section.

Clone this wiki locally