Menu

basic usage

Chris Holt

Basic Usage


Note: because the script generates raw data onto the network interface, Linux security restrictions will block this activity unless the script is run as root. To do this, either login as root, or if you are permitted by ‘sudoers’ you can run the script with sudo.


To run the script, the following is the minimum you must provide:
./must.pl –t template_file.gnr –t target_ip

where the template file is an xml file containing instructions for the data generation (see following sections) and the target IP is the IP the data should be sent to.
The script also has the following optional parameters:

Switch Description
-d Debug mode - provide some information on the inner workings (useful for tuning)
-h Tuning to remove the shuffle of messages - less lifelike but saves a few CPU cycles
-r Causes a more gradual increase in EPS to help if the target is struggling to ramp up performance
-s Stats output - provides running stats in CSV format (useful if passed into another application)
-u Unsafe mode - remove the sanity limit of 1000EPS (also requires the template to set a max rate of 0)
-v Verbose mode - provides way more information than you probably need


MongoDB Logo MongoDB