Home
Command  Home
Scalable Graphic

logo_header

Soft - is your software and documentation
Asset - is something that must be protected
Management - is what we do
Enterprise - is the capability
Computing - is the power
Services - are what we provide


 

 

 

 

 

Usage:

dumpoplog [-short | -long] [-name] [-invob vob-selector] [-vreplica replica]
                [ oplog-ent-order-num ...
                | [-from oplog-ent-order-num] [-to oplog-ent-order-num]
                ] [-since date-time] [-reverse]

 

A.    The dumpoplog command lists the oplog information for all replicas contained in a VOB's database. It will not list information related to oplogs that have been scrubbed.


Default
Returns basic information about the oplog

Oplog Entry Order

25:

Operation

op= checkin

Replica OID

replica_oid= <oid of replica that created the oplog> (<name of replica>)

Oplog ID

oplog_id= 25

Operation Time

op_time= <creating replica> create_time= <importing replica>
data size= 108 data= 0x12d0f78

 

B.    -short  Returns a brief listing of all oplogs as follows
<entry order number>: op=<operation> rep=<replica name> id=<oplog id>

C.    –long      Returns additional information such as the OID of the version, the version number as well as information about the previous version.

Version OID

ver_oid= e3db2f8b.956a42bf.bc56.41:6c:40:60:60:fa (*object not found*)

Version Number

ver_num= 3

fstat()information

ver_fstat= ino: 0; type: 1; mode: 01; uid: 4294967295; gid: 4294967295
nlink: 0; size: 0; blsz: 1024; blks: 0 fsid: 0; rdev 0
atime: Wed Dec 31 19:00:00 1969
mtime: Tue Apr 03 12:39:54 2007
ctime: Tue Apr 03 12:39:54 2007

OID of version
while checked out

ckout_ver_oid= 16b858da.c78149b1.af15.e4:2a:63:a3:19:4 e

D.    -name

Attempts to resolve OIDs to names.
Elements that have been removed as well as checked out version OIDs of files that have been checked in may show up with (*object not found*)

E.    -invob [vob tag]

By default the command uses the current working VOB. Use -invob to select a different one.

Note
: When using this switch dumpoplog will not consistently convert OIDs to names if it is not run from within a view context.

F.     -vreplica [replica name]

Returns only the oplogs of the single replica name supplied to the -vreplica switch.

G.    -from -to [oplog entry order id || oplog id]

from returns the oplogs starting with the value supplied to the from argument and stops at the latest oplog.
to returns the oplogs starting with the first oplog and stops at the oplog supplied as value to the to argument.
Used together it will return the oplogs between the values supplied.
When used with the -vreplica switch it will use oplog IDs when used without the -vreplica switch it will use oplog entry order id's

Note The -from and -to switches do not have to be used together.

H.    -since [date-time]

Returns information starting with the date and time supplied and continues to the last oplog.
<date-time> = <date>.<time> | <date> | <time> | "now" | "none"
<date> = d[d]-<month>[-[yy]yy] | <day-of-week> | "today" | "yesterday"
<time> = h[h]:m[m][:s[s]][UTC[+|-][h[h][:mm]]] (24-hour time)

I.     -reverse

Returns oplogs in reverse order.
When used with -since switch it will start with the last oplog and continue to the date supplied.
When used with -from switch it will start with the -from argument and continue to the first oplog in reverse order.

Note: The -to switch will not produce any desired results when used with the -reverse switch

Table of Contents

Restrictions. 2

Table of Contents. 3

How do I use the multitool master command.. 4

1.       List all objects mastered by the delhi replica of the samecs_dev VOB.. 4

2.       List all label types mastered by the london replica of the samecs_dev VOB.. 4

3.       List all element types, label types, and branch types mastered by the sydney replica.. 4

4.       List the name and creation comment of each element type mastered by the replica boston. Contact the boston replica to retrieve the data. 5

5.       Do not use a view context to list information from all replicas in the VOB family about the objects mastered by the replica sydney. 5

6.       Use a view context to list information from all replicas in the VOB family about the objects mastered by the replica sydney. 5

7.       List information from the sydney replica about the objects mastered by the replica boston.. 6

8.       List all projects, baselines, and streams mastered by the replica sydney. Contact the sydney replica to retrieve the data. 6

 

How do I use the multitool master command to

 

1.   list all objects mastered by the delhi replica of the samecs_dev VOB

multitool lsmaster –view samecs_view –fmt "%m:%n\n" dehli@/vobs/samecs_dev

directory element:/vobs/saemcs_dev.@@
...
file element:/vobs/samecs_dev/lib/file.c@@
...
symbolic link:/vobs/samecs_dev/doc
...
hyperlink:Merge@2@/vobs/samecs_dev
...

2.   list all label types mastered by the london replica of the samecs_dev VOB

cleartool lsmaster –fmt "%m:%n\n" –kind lbtype london@\samecs_dev

label type:LATEST
label type:CHECKEDOUT
label type:BACKSTOP
label type:REL1
...

3.   list all element types, label types, and branch types mastered by the sydney replica

cleartool lsmaster –kind eltype,lbtype,brtype sydney

master replica: sydney @\dev "element type" file_system_object
master replica: sydney @\dev "element type" file
master replica: sydney @\dev "element type" directory
...
master replica: sydney@\dev "branch type" sanfran_main
master replica: sydney@\dev "branch type" v1.0_bugfix
...
master replica: sydney@\dev "label type" LATEST
master replica: sydney@\dev "label type" SANFRAN_V2.0
master replica: sydney@\dev "label type" V1.0_BUGFIX
master replica: sydney@\dev "label type" TOKYO_BASE
master replica: sydney@\dev "label type" SYDNEY_BASE
...

4.   list the name and creation comment of each element type mastered by the replica boston. Contact the boston replica to retrieve the data.

multitool lsmaster –inreplicas boston –fmt "%n\t%c\n" kind eltype boston@/vobs/samecs_dev
In replica "nyc_hub"
binary_delta_file       Predefined element type used to represent a
file in binary delta format.
<include OID for object not yet known by current replica>...

5.   to list information from all replicas in the VOB family about the objects mastered by the replica sydney. Do not use a view context

multitool lsmaster –inreplicas –all sanfran_hub@/vobs/saemcs_dev

In replica "sydney"
master replica: sydney@/vobs/samecs_dev "versioned object base" /vobs/samecs_dev
master replica: sydney@/vobs/samecs_dev "directory element"
(oid:40e0000b.241d23ca.b3df.08:00:69:02:05:33)
master replica: sydney @/vobs/samecs_dev "directory element"
(oid:40e0000b.241d23ca.b3df.08:00:69:02:05:33)
...

6.   to list information from all replicas in the VOB family about the objects mastered by the replica sydney. Use a view context

multitool lsmaster –view samecs_view –inreplicas –all sydney@/vobs/samecs_dev

In replica " sydney"
master replica: sydney@/vobs/saemcs_dev "versioned object base" /vobs/samec_dev
master replica: sydney@/vobs/samecs_dev "directory element"
/view/samecs_view/vobs/samecs_dev/.@@
master replica: sydney@/vobs/samecs_dev "directory element"
/view/samecs_viedw/vobs/samecs_dev/lib@@
...

7.   list information from the sydney replica about the objects mastered by the replica boston

multitool lsmaster –view samecs_view –inreplicas sydney boston@/vobs/samecs_dev

8.   list all projects, baselines, and streams mastered by the replica sydney. Contact the sydney replica to retrieve the data.

multitool lsmaster –inreplicas sydney –kind project,baseline,stream
sydney@/vobs/samces_pvob

In replica "nyc_hub"
master replica: sydney@/vobs/projects  "project" V4.5.BL3
master replica: sydney@/vobs/projects  "project" doc_localize
master replica: sydney@/vobs/projects  "stream" 4.5.bl2_int
master replica: sydney@/vobs/projects  "project" V4.5.BL2
master replica: sydney@/vobs/projects  "stream" 4.5.bl2
master replica: sydney@/vobs/projects  "stream" stream000317.160434
master replica: sydney@/vobs/projects  "stream" stream000317.173156
master replica: sydney@/vobs/projects  "baseline"
V4.5.BL2.011005.12820
master replica: sydney@/vobs/projects  "baseline" V4.5.BL2.011005.12890
master replica: sydney@/vobs/projects  "baseline" V4.5.BL2.011005.17408
master replica: sydney@/vobs/projects  "baseline" V4.5.BL2.011005.17695
master replica: sydney@/vobs/projects  "baseline" V4.5.BL2.011005.19614
...