lsregion
Lists VersionVault network regions
Applicability
Product |
Command type |
---|---|
VersionVault |
cleartool subcommand |
Platform |
---|
UNIX® |
Linux® |
Windows® |
Synopsis
- lsregion [ –s/hort | –l/ong ] [ 'region-tag-pattern' ...]
Description
The lsregion command lists one or more VersionVault network regions.
To be accessible to cleartool subcommands, including lsregion, a region must have an entry in the regions registry file on the network's registry server host.
Restrictions
None.
Options and arguments
Listing format
- Default
- lsregion displays only region names.
- –s/hort
- Same as the default. Displays only region names.
- –l/ong
- Displays region names and their comment strings.
Specifying the regions listed
- Default
- Lists all registered network regions.
- 'region-tag-pattern' ...
- Confines the listing to regions that match one or more region-tag-patterns. A region-tag-pattern can include pattern-matching characters. Enclose each pattern within single quotes.
Examples
The UNIX system and Linux 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 system and Linux shells or Windows command interpreter prompt, followed by the cleartool command. In cleartool interactive mode, cmd-context represents the interactive cleartool prompt.
- List all VersionVault network regions known to the current host's
registry server host.
cmd-context lsregion
dev_unix
support
winnt1
.
.
. - Display all information registered for
each network region that matches the wildcard pattern *winnt*.
cmd-context lsregion –long '*winnt*'
Tag: winnt1 "region defined automatically"
Tag: winnt2 "region defined implicitly by V2.x client"
UNIX® and Linux® files
/var/adm/hcl/versionvault/rgy/regions
Windows® files
versionvault-home-dir\var\rgy\regions
Windows® registry keys
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Atria\ClearCase\CurrentVersion\Region