The lslock command lists locks that have been placed on one or more VOB-database objects (with the lock command). The listing can include all the locks created within a VOB or a particular set of locks:
(Versions cannot be locked; a pathname to a version references the element object.) Using pname arguments restricts the listing to locks on those particular objects (but see the –all description below).
If pname has the form of an object selector, you must include the –pname option to indicate that pname is a pathname.
Note: Specifying an element lists only the lock on the element itself, not on any of its branches.
The UNIX examples in this section are written for use in csh. If you use another shell, you may need to use different quoting and escaping conventions.
The Windows examples that include wildcards or quoting are written for use in cleartool interactive mode. If you use cleartool single-command mode, you may need to change the wildcards and quoting to make your command interpreter process the command appropriately.
In cleartool single-command mode, cmd-context represents the UNIX shell or Windows command interpreter prompt, followed by the cleartool command. In cleartool interactive mode, cmd-context represents the interactive cleartool prompt.
cmd-context lslock –obsolete
08-Dec.12:18 jackson lock file element
"/usr/hw/src/hello.c@@" (locked)
"Locked for all users."
08-Dec.12:19 jackson lock label type "REL1" (locked)
"Locked for all users."
08-Dec.12:19 jackson lock label type "REL2" (locked)
"Locked for all users."
08-Dec.12:18 jackson lock branch type "test" (locked)
"Locked except for users: gomez jackson"
08-Dec.12:18 jackson lock branch type "patch3" (obsolete)
"Locked for all users (obsolete)."
08-Dec.12:18 jackson lock file element
"/usr/hw/src/convolution.c@@" (locked)
"Locked for all users."
08-Dec.12:19 jackson lock branch
"/usr/hw/src/util.c@@/main/rel2_bugfix@@" (locked)
"Locked for all users."
Copyright© 2003 Rational Software. All Rights Reserved.