Bug 922539
| Summary: | [RFE] ldclt: add timestamp, interval, nozeropad, other improvements | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Nathan Kinder <nkinder> |
| Component: | 389-ds-base | Assignee: | Rich Megginson <rmeggins> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | IDM QE LIST <seceng-idm-qe-list> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.0 | CC: | jgalipea, mkubik, nhosoi |
| Target Milestone: | rc | Keywords: | FutureFeature |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 389-ds-base-1.3.1.2-1.el7 | Doc Type: | Enhancement |
| Doc Text: |
Feature: Added the following options for ldclt:
-e timestamp[=strftime format] - add timestamp "|" to the beginning of every ldclt status update line - default is %s which is time_t format
-e sampinterval=SECS - print the status update line every SECS seconds - default is 10 seconds
-e incr=value increment the RDN value by value instead of the default 1
-e nozeropad ldclt will usually generate random numbers used in RDNs and values padded
with 0 e.g. uid=XXXXX is uid=00001 - with the -e nozeropad option, this will
turn uid=X or XX or .. into uid=1 - no zero padding
in addition, when ldclt hits the randomHigh value in incremental mode, it will loop back around to the randomLow value rather than just exiting.
Reason: Makes ldclt give more and better results for doing performance testing.
Result (if any):
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-06-13 12:06:07 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Nathan Kinder
2013-03-17 19:08:28 UTC
moving all ON_QA bugs to MODIFIED in order to add them to the errata (can't add bugs in the ON_QA state to an errata). When the errata is created, the bugs should be automatically moved back to ON_QA. bindonly (timestamp, sampinterval) ldclt -b "dc=example,dc=com" -h localhost -p 389 -D "cn=directory manager" -w Secret123 -T 100 -e bindonly -e bindeach -e sampinterval=5 -e timestamp="%m/%d/%Y %H:%M:%S" -W 1 -v ldclt version 4.23 ... Sampling interval = 5 sec ldclt[12236]: Starting at Fri Feb 14 14:01:53 2014 02/14/2014 14:01:58|ldclt[12236]: Average rate: 4.00/thr ( 8.00/sec), total: 40 02/14/2014 14:02:03|ldclt[12236]: Average rate: 5.00/thr ( 10.00/sec), total: 50 02/14/2014 14:02:08|ldclt[12236]: Average rate: 5.00/thr ( 10.00/sec), total: 50 02/14/2014 14:02:13|ldclt[12236]: Average rate: 5.00/thr ( 10.00/sec), total: 50 02/14/2014 14:02:18|ldclt[12236]: Average rate: 5.00/thr ( 10.00/sec), total: 50 02/14/2014 14:02:23|ldclt[12236]: Average rate: 5.00/thr ( 10.00/sec), total: 50 adding users (incr, nozeropad) ldclt -b "dc=example,dc=com" -h localhost -p 389 -D "cn=directory manager" -w Secret123 -e add,person,noloop -f cn=ldclt_test_XXXX -e incr=2 -r 1 -R 50 -n1 -W 1 -v ldapsearch -xLLL -z 10 -b "dc=example,dc=com" cn=ldclt* dn dn: cn=ldclt_test_0002,dc=example,dc=com dn: cn=ldclt_test_0004,dc=example,dc=com dn: cn=ldclt_test_0006,dc=example,dc=com dn: cn=ldclt_test_0008,dc=example,dc=com dn: cn=ldclt_test_0010,dc=example,dc=com dn: cn=ldclt_test_0012,dc=example,dc=com dn: cn=ldclt_test_0014,dc=example,dc=com dn: cn=ldclt_test_0016,dc=example,dc=com dn: cn=ldclt_test_0018,dc=example,dc=com dn: cn=ldclt_test_0020,dc=example,dc=com ldclt -b "dc=example,dc=com" -h localhost -p 389 -D "cn=directory manager" -w Secret123 -e add,person,noloop -f cn=ldclt_test_XXXX -e incr=2,nozeropad -r 1 -R 50 -n1 -W 1 -v ldapsearch -xLLL -z 10 -b "dc=example,dc=com" cn=ldclt* dn dn: cn=ldclt_test_2,dc=example,dc=com dn: cn=ldclt_test_4,dc=example,dc=com dn: cn=ldclt_test_6,dc=example,dc=com dn: cn=ldclt_test_8,dc=example,dc=com dn: cn=ldclt_test_10,dc=example,dc=com dn: cn=ldclt_test_12,dc=example,dc=com dn: cn=ldclt_test_14,dc=example,dc=com dn: cn=ldclt_test_16,dc=example,dc=com dn: cn=ldclt_test_18,dc=example,dc=com dn: cn=ldclt_test_20,dc=example,dc=com Verified with 389-ds-base-1.3.1.6-18.el7. This request was resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you have further questions about the request. |