| | |
| | | <para>The following example demonstrates testing directory performance by |
| | | using the modrate command to write random 16-character description values |
| | | to all entries in a sample file.</para> |
| | | <screen width="80">$ grep ^uid: /path/to/Example.ldif | sed -e "s/uid: //" > names.txt |
| | | <screen>$ grep ^uid: /path/to/Example.ldif | sed -e "s/uid: //" > names.txt |
| | | $ modrate -p 1389 -D cn=directory\ manager -w secret12 \ |
| | | > -b "uid=%s,ou=people,dc=example,dc=com" -g "rand(names.txt)" \ |
| | | >"description:%s" -g "randStr(16)" -A -F -c 4 -t 4 |