IBM Support

cleartool lsview command with flag "-host" without "-quick" is slower

Question & Answer


Question

Why is the IBM Rational ClearCase command cleartool lsview slower when you use the flag "-host" without "-quick"?

Cause

To get the list of all views or a subset in ClearCase, you can use the cleartool lsview command as follows.

  1. cleartool lsview

  2. cleartool lsview -host <host>

  3. cleartool lsview -host <host>  -quick

Execution time for command a and command c are almost the same. Whereas command b, lsview host, needs more time.

Answer

Output comes slower, if you use the flag "-host" without "-quick". The reason is the following. The cleartool lsview command performs DNS lookups to determine, whether the view server host is the same host as you specified by "-host".


If you use the "-host" flag, cleartool generates more network calls than the other two commands.

The "-quick" flag filters the lsview output to view tags, where the host specification is the exact case sensitive string that you specified with "-host". Because there is no DNS resolution, lsview does not report views on hosts with multiple names. With the "-quick" option lsview considers the following hosts as different.

  • ccserver,

  • CCSERVER,

  • ccserver.xx.yyyyyy.com.


The documentation specifies that Physical storage is not examined, and aliases and IP addresses are not resolved.

[{"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Cleartool","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"7.1;7.1.1;7.1.2;8.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
19 February 2019

UID

swg21618339