Contained WithinFind More DocumentationFeatured Support Resources | Download this book in PDF (3673 KB)
modrate(1)NAME | Synopsis | Description | Options | Extended Description | Examples | Exit Status | Attributes | See Also NAME
Synopsisinstall-path/dsrk6/bin/modrate [options] -b baseDN -M attribute:length:regexp DescriptionThe modrate command measures the rate at which an LDAP directory can perform random, user-defined modifications. As with all measures of performance, results depend on many factors, including what options you pass to the modrate command, and also how the directory service itself is tuned. The command uses LDAP v3, and cannot be used to authenticate to an LDAP v2 directory not supporting LDAP v3. Options
The modrate command supports the following options: Extended Description
The modrate command repeatedly requests modification operations of a directory server. Threads may be configured to keep open connections or perform LDAP bind with each operation. The command-line options let you specify the bind credentials. The command uses LDAP v3, and cannot be used to authenticate to an LDAP v2 directory not supporting LDAP v3. Furthermore, the modrate command uses simple authentication, not secure binding. The modrate command cannot set a time limit for operations. By default, the modrate command continues its task indefinitely, displaying results periodically, and displaying any errors encountered as well without interrupting operation. Random Target SyntaxInclude randomly generated numbers by specifying %d and %s placeholders in the base DN. These placeholders are then replaced according to the following rules: Random Target SubstitutionThe modrate command requires that you apply the following rules for substitutions, displaying an error message when the used incorrectly: In order to use this random modification mechanism, you must populate your directory accordingly. For example, you can measure the modification rate using the following command:
In order for the modrate command to bind effectively, your directory must contain entries corresponding to the following LDIF excerpt: dn: uid=test0,ou=test,dc=example,dc=com userPassword: auth00 dn: uid=test1,ou=test,dc=example,dc=com userPassword: auth11 dn: uid=test2,ou=test,dc=example,dc=com userPassword: auth22 … dn: uid=test10,ou=test,dc=example,dc=com userPassword: auth1010 … dn: uid=test99,ou=test,dc=example,dc=com userPassword: auth9999 Examples
Examples in this section use the following conventions: Example 1 modrate: Sample OutputThe following command performs modifications until it has displayed five results messages. Notice that each line concerns only the elapsed interval.
If you read Example.ldif, you see that hmiller's password is hillock. Notice also that a result message provides the following items of information: Example 2 modrate: Modification Rate AloneThe following command keeping the connection open and binds only once:
If you read Example.ldif, you see that hmiller's password is hillock. Exit Status
The modrate command returns the following exit status codes. AttributesSee attributes(5) for descriptions of the following attributes:
See AlsoDSRK 6.0 Last Revised Apr. 5, 2006NAME | Synopsis | Description | Options | Extended Description | Examples | Exit Status | Attributes | See Also |
|||||||||