Export (0) Print
Expand All

Running Exchange Load Generator as a Command-Line Program

 

Topic Last Modified: 2008-02-04

There are several tasks or actions that you can run for Exchange Load Generator by using the command-line program LoadGenCmd.exe. One of the key tasks is to generate the generic configuration file. You must do this in order to set up the adjustable parameters for the test.

When you start Exchange Load Generator at a command prompt, you must indicate if you want to initialize users or run a simulation. You cannot do these tasks from the same command. You must run Exchange Load Generator separately for each task. Additionally, you must create user accounts before generating a configuration file.

To run Exchange Load Generator at a command prompt, locate the LoadGenCmd.exe program, which is in the directory where Exchange Load Generator was installed. Click Start, click Run, and type cmd. If it is required, change the directory path to the path of the LoadGenCmd.exe program, and continue with running the applicable tasks.

The syntax for running Exchange Load Generator as a command-line program is as follows:

LoadGenCmd [Action Argument] [Configuration Argument] 

The configuration argument is Config [filename] = Config file (default is /c) LoadGenConfig.xml. The following table presents action arguments with their examples of use.

 

Action Argument Example of use Description

Help

/h or /?

The help for the command-line program

LoadCtr

/l counter.xml

Load performance counters

UnloadCtr

/u counter.xml

Unload performance counters

AddTrace

/add trace log

Add trace listeners

SupTrace

/sup console

Suppress trace listeners

EnsMessage

/ens *.msg

Make sure that message files are formatted correctly and can be opened successfully

GenConfig

/g

Generate a generic configuration file

InitPrivStore

/i

Initialize mailbox stores

PrepPublicStore

/p

Prepare the public store

RunLoadSim

/r

Run load simulation

 
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft