show [ -fx ] accuwork
show [ -fx ] depots
show [ -f<format(s)> ] [ -u <
principal> ] groups
show [ -fx ] locks
show [ -fx ] [ -g
<group-name> ] members
show [ -f
<format(s) ] [ -ks [ -p
<depot> ] | -ku | -s
<stream> |
-u
<principal> ] [ -n
<pattern> ] [ -r ] properties
show [ -f
<format(s)> ] refs
show [ -fx ] sessions
show [ -f
<format(s)> ] slices
show [ -f
<format(s)> ] [ -p
<depot> ] [ -d ] [ -t
<time-spec> ]
[ -s
<stream> [ -m
[<match-type>] ] [ -r | -R | -1 ] ] streams
show [ -f
<format(s)> ] [ -p
<depot> ] [ -d ] [ -t
<time-spec> ]
[ -l
<list-file> [ -m
[<match-type>] ] [ -r | -R | -1 ] ] streams
show [ -fx ] [ -p
<depot> ] -s
<depot> stream_rules
show [ -f
<format(s)> ] [ -p
<depot> ] triggers
show [ -f
<format(s)> ] users
show [ -f
<format(s)> ] [ -a ] wspaces
The show command displays information about all objects of a particular type:
•
|
accuwork: Lists the depots in the repository that contain AccuWork issues. Displays the same information as depots.
|
•
|
depots: For each AccuRev depot, displays ( Depot) the depot name, ( Depot#) the depot number, and ( Slice#) the slice number.
|
•
|
groups: For each group, displays ( Group#) the group number and ( Group) the group name. If a <principal> is specified, displays all the groups to which that principal belongs.
|
•
|
locks: Displays a line for each stream lock, in this form:
|
•
|
{to| from| all} <stream-name> [ { except| only} for <user-or-group-name> ] [ < comment> ]
|
•
|
members (of groups): For each user who belongs to any group — or to the particular group specified with the - g option — displays ( User) the user’s principal-name and ( Group) the group name.
|
•
|
properties: Displays properties created using the setproperty command for the specified stream or principal.
|
•
|
refs (reference trees): Similar to the wspaces display (see below). The Stream# value identifies the stream or snapshot that the reference tree is based on. The workspace type value (next-to-last number) is always 3.
|
•
|
sessions: Lists all the active login sessions for your AccuRev Server, indicating the IP address of the user’s client machine and the duration of the session (in minutes).
|
•
|
slices: For each AccuRev depot, displays ( Slice#) the slice number, and ( Location) the full pathname to the directory within the repository that stores the data for that depot.
|
•
|
streams: For each stream in the repository — or a subset of the streams specified by the - p, - s, -R, -r, -1, -d, -m, -l, and/or - t options — displays:
|
•
|
(Backing Stream) the name of the stream’s backing/parent stream
|
•
|
(Depot) the name of the depot to which the stream belongs
|
•
|
(Stream#) the stream number
|
•
|
(Dyn) a “Y” if the stream is dynamic
|
•
|
(Basis Time) the basis time, if any, for a dynamic stream
|
startTime and time in -fx output -- If you use the
-fx option for
show streams, the XML output includes a
startTime value for all streams, which specifies the time the stream was created. If the stream is a snapshot, the
show -fx streams XML output also includes a
time value, which specifies the time the snapshot was created. Both times are written in UNIX epoch format.
•
|
stream_rules: For the stream specified by the -p and -s options, lists the workflows and workflow rules associated with the stream that dictate:
|
•
|
triggers: For each trigger created with the mktrig command, displays the type of trigger and the name or pathname of the trigger executable (script or program). Use the - p option to limit the listing to a particular depot’s triggers. Triggers that are enabled by creating a script at a well-known pathname (e.g. server_admin_trig) are not listed by this command.
|
•
|
users: For each user, displays ( User#) the unique user-ID number and ( User) the principal-name.
|
•
|
wspaces (workspaces): For each workspace that belongs to you — or for all workspaces in the repository — displays
|
•
|
(Name) the workspace name
|
•
|
(Storage) the full pathname to the workspace tree
|
•
|
(Host) the name of the machine where the workspace tree resides
|
•
|
(Stream) the stream number of the workspace stream, and four additional items:
|
•
|
(Target_trans) how up-to-date the workspace should be.
|
•
|
(Trans) how up-to-date the workspace actually is. Usually, Target_trans and Trans levels are the same. See Update Level in the update reference page.
|
•
|
(depot) the depot with which the workspace is associated.
|
•
|
(fileModTime) the timestamp of the last time the workspace was updated, converted to hex.
|
•
|
(Type) one of the following: 1 (standard workspace), 9 (exclusive-file locking), 17 (anchor-required).
|
•
|
(EOL) One of the following: 0 (platform-appropriate), 1 (UNIX/Linux style: NL), 2 (Windows style: CR-LF)
|
•
|
(user_id) the unique user-ID number
|
•
|
(user_name) the principal-name.
|
i: Include deactivated (removed) items in the listing; for properties, include properties for hidden streams or principals.
I: Include deactivated (removed) items, and include old definitions of all items. Cannot be used with the
-d option, nor with the
-1,
-m,
-r, or
-R options in
show streams.
v: For
show users, adds a Kind column to output, indicating whether the user is licensed for use of “full” (both configuration management and issue management) or “dispatch” (issue management only). For show
wspaces, adds a Loc (location) column to output.
x: Display the results in XML format.
xg: (valid for
show streams) Display the results in XML format. This variant includes the
hasDefaultGroup attribute, which indicates whether each stream has a default group. Requires the
-p option.
Note: To combine two or more formats, include them in the same expression. For example to display a list of deactivated items in XML format, specify
-fxi. If you repeat the
-f option (
-fx -fi), the second instance is ignored.
-mx: (default, if
-m not specified) Selects a stream if its name exactly matches the string specified with
-s or any of the strings in the list-file specified with
-l.
-mc: Like
-mx, but a specified string can occur anywhere within a stream name.
-me: Like
-mx, but a specified string must match the end of a stream name.
-ms: Like
-mx, but a specified string must match the start of a stream name.
With -mx or no -m option, matches are made with both active and removed streams; with all other -m options, matches are made only with active streams, unless you also specify the
-fi option.
For show ... properties, specifies the glob pattern the property name must match; only properties whose name matches the glob pattern are displayed.
Note: You must use
-n to specify a pattern for the property name if you use the
-l option.
Also list the stream path and all children of the selected stream(s). Must be used in combination with the
-s or
-l option.
For show ... properties,
-r shows the value of the reserved
streamStyle property.
-s <stream> or -s <stream-pattern>
(show streams only) Restrict the scope to the specified stream — or streams matching the stream pattern that you specify with
-m. You can use
-1 (“dash-one”),
-r, or
-R along with this option. The stream can be specified by name or number. If you specify a stream by number, you must also specify a depot with the
-p option.
(show stream_rules only) Restrict the scope to the specified stream. The stream can be specified by name or number. If you specify a stream by number, you must also specify a depot with the
-p option.
•
|
Time in <"YYYY/MM/DD HH:MM:SS"> format, " 2007/08/07 20:27:15", for example. Note that you must use quotes when specifying time-spec as YYYY/MM/DD HH:MM:SS to ensure that the entire argument is interpreted by the command shell as a single token.
|
For show ... properties, the AccuRev user whose properties are to be displayed.
For
show ... groups, displays all the groups to which the specified principal belongs.
Display the value of the streamStyle property for the stream
nightly:
Display the name of the stream renamed_stream (renamed in transaction 100) at the time of transaction number 50: