annotate
apropos
catcr
catcs
cc.icon
cc.magic
cd
chactivity
chbl
checkin
checkout
checkvob
chevent
chflevel
chfolder
chmaster
chpool
chproject
chstream
chtype
chview
clearaudit
clearbug
cleardescribe
cleardiffbl
cleardiff
clearexport_ccase
clearexport_cvs
clearexport_pvcs
clearexport_rcs
clearexport_sccs
clearexport_ssafe
clearfsimport
cleargetlog
clearhistory
clearimport
clearjoinproj
clearlicense
clearmake
clearmake.options
clearmrgman
clearprojexp
clearprompt
cleartool
clearviewupdate
clearvobadmin
comments
config_ccase
config_spec
cptype
credmap
creds
deliver
describe
diffbl
diffcr
diff
dospace
edcs
endview
env_ccase
events_ccase
export_mvfs
exports_ccase
file
find
findmerge
fmt_ccase
getcache
get
getlog
help
hostinfo
init_ccase
ln
lock
lsactivity
lsbl
lscheckout
lsclients
lscomp
lsdo
lsfolder
lshistory
ls
lslock
lsmaster
lspool
lsprivate
lsproject
lsregion
lsreplica
lssite
lsstgloc
lsstream
lstype
lsview
lsvob
lsvtree
makefile_aix
makefile_ccase
makefile_gnu
makefile_pmake
makefile_smake
makefile_sun
man
merge
mkactivity
mkattr
mkattype
mkbl
mkbranch
mkbrtype
mkcomp
mkdir
mkelem
mkeltype
mkfolder
mkhlink
mkhltype
mklabel
mklbtype
mkpool
mkproject
mkregion
mkstgloc
mkstream
mktag
mktrigger
mktrtype
mkview
mkvob
mount_ccase
mount
msdostext_mode
mvfslog
mvfsstorage
mvfstime
mvfsversion
mv
omake
pathnames_ccase
permissions
profile_ccase
promote_server
protect
protectvob
pwd
pwv
query_language
quit
rebase
recoverview
reformatview
reformatvob
register
relocate
rename
reqmaster
reserve
rgy_backup
rgy_check
rgy_passwd
rgy_switchover
rmactivity
rmattr
rmbl
rmbranch
rmcomp
rmdo
rmelem
rmfolder
rmhlink
rmlabel
rmmerge
rmname
rmpool
rmproject
rmregion
rmstgloc
rmstream
rmtag
rmtrigger
rmtype
rmver
rmview
rmvob
schedule
schemes
scrubber
setactivity
setcache
setcs
setplevel
setsite
setview
shell
snapshot.conf
softbench_ccase
space
startview
type_manager
umount
uncheckout
unlock
unregister
unreserve
update
version_selector
view_scrubber
vob_restore
vob_scrubber
vob_sidwalk
vob_snapshot
vob_snapshot_setup
wildcards_ccase
winkin
xclearcase
xcleardiff
xmldiffmrg
DESCRIPTION
The lsdo command lists information about one or more derived objects (DOs) in a VOB. Derived objects are created by clearmake, omake, and clearaudit when these tools are invoked from a dynamic view. lsdo lists derived objects without respect to which dynamic views (if any) reference them. At any given time, a dynamic view sees at most one derived object at a given pathname.
By default, lsdo lists all derived objects built at a given pathname, except for the following kinds of DOs:
- Unshared DOs with a zero reference count (unless you use the –zero option).
- DO versions, derived objects that are checked in as versions of elements.
- Nonshareable DOs built in other dynamic views. (The –nshareable_dos option lists only nonshareable DOs in the current dynamic view.)
- Derived objects created with one name and subsequently renamed (for example, by winkin –out or some operating system command).
You can use pname arguments to restrict the listing to derived objects with particular pathnames or to all the derived objects in particular directories. You can specify a derived object with a standard pathname or with an extended name that includes a derived object's unique DO ID.
DOs in Unavailable Dynamic Views
lsdo maintains a cache of tags of inaccessible dynamic views. For each view tag, lsdo records the time of the first unsuccessful contact. Before trying to access a dynamic view, lsdo checks the cache. If the view's tag is not listed in the cache, lsdo tries to contact the dynamic view. If the view's tag is listed in the cache, lsdo compares the time elapsed since the last attempt with the time-out period specified by the CCASE_DNVW_RETRY environment variable. If the elapsed time is greater than the time-out period, lsdo removes the view tag from the cache and tries to contact the dynamic view again.
The default timeout period is 60 minutes. To specify a different time-out period, set CCASE_DNVW_RETRY to another integer value (representing minutes). To disable the cache, set CCASE_DNVW_RETRY to 0.
OPTIONS AND ARGUMENTS
Handling of Directory Arguments
- Default
- If any pname argument
is a directory, the DOs in pname are listed, but
not the DOs in any subdirectories of pname.
- –r·ecurse
- Includes DOs in the entire subtree below any pname that
is a directory (or the current working directory if you don't specify any pname arguments).
VOB symbolic links are not traversed during the recursive descent into a directory.
Selection of Derived Objects
- Default
- lsdo lists DOs created by
any user, but excludes DOs whose data containers no longer exist.
- –me
- Restricts the listing to derived objects that
you created.
- –zer·o
- Includes in the listing unshared (that is,
never shared) derived objects with zero reference counts. Such objects cannot
be candidates for configuration lookup and winkin, because their data containers
no longer exist.
- –nsh·areable_dos
- Lists only nonshareable DOs created in the
current dynamic view, by any user.
Controlling Report Appearance
- Default
- In a listing of several DOs, the entries are
sorted by derived object name. Within a group of like-named DOs, the entries
are sorted chronologically, most recent entry first. The –long, –short,
and –fmt options are mutually exclusive; the –sname and –stime options
are mutually exclusive.
Each DO's listing includes its extended name (including DO ID) along with creation-related data: time, user name, and host name. For example:
- –l·ong
- Expands the listing to include a DO's size
in bytes, the last access time, the reference count, and the dynamic views
that reference the DO.
- –s·hort
- Restricts the listing for a DO to its extended
name (including DO ID).
- –fmt format-string
- Lists information using the specified format
string. See the fmt_ccase reference page
for details about using this report-writing facility.
- –sti·me
- Sorts all entries chronologically, most recent
entry first.
- –sna·me
- (Same as default) Sorts entries alphabetically
by name.
Specifying the Derived Objects
- Default
- Lists all derived objects created in the current
working directory.
- pname ...
- Standard pathnames and/or DO IDs:
- A directory
name causes all derived objects built in that directory to be listed.
- A standard
or view-extended pathname of a file causes all derived objects built under
that name to be listed.
- A pathname
that includes a unique DO ID (for example, conv.obj@@19-Nov.21:28.127450)
specifies a particular derived object to be listed.
- A directory
name causes all derived objects built in that directory to be listed.
EXAMPLES
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.
- List,
in reverse chronological order, all derived objects that you have created
in the current working directory.
cmd-context lsdo –stime –me –short
ctl@@14-May.15:18.339307
ctl_V.o@@14-May.15:18.339305
libcmd.a@@14-May.15:16.339302
libcmd_V.o@@14-May.15:16.339300
cmd_type.o@@14-May.15:15.339297
cmd_view.o@@14-May.15:15.339294
cmd_utl.o@@14-May.15:15.339291
cmd_trig.o@@14-May.15:14.339288
cmd_lh.o@@14-May.15:14.339285 - List information on a derived object, identified by its extended pathname.
- List all nonshareable DOs in and under the current working directory.
- List
all derived objects created in the current working directory with file name hello.
Use the long format, to show which dynamic views reference the DOs; include
DOs that are not referenced by any dynamic view.
cmd-context lsdo –long –zero hello
08-Dec-98.12:06:19 Chuck Jackson (test user) (jackson.dvt@oxygen)
create derived object "hello@@08-Dec.12:06.234"
size of derived object is: 18963
last access: 29-Jan-99.13:56:56
references: 1 => oxygen:/usr/vobstore/tut/old.vws
08-Dec-98.12:05:35 Chuck Jackson (test user) (jackson.dvt@oxygen)
create derived object "hello@@08-Dec.12:05.143"
size of derived object is: 18963
last access: 29-Jan-99.13:56:56
references: 0 (shared) - List the name, kind, and reference count of each derived object in the current working directory.