lsregion
Lists ClearCase® network regions
Applicability
Product
|
Command
type
|
ClearCase
|
cleartool
subcommand
|
Platform
|
UNIX®
|
| Linux® |
Windows®
|
Synopsis
- lsregion [ –s/hort | –l/ong ]
[ 'region-tag-pattern' ...]
Description
The lsregion command lists
one or more ClearCase 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.
Note: To display the name of
the registry server host for which entries are displayed, use the
hostinfo –long command.
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.
UNIX and Linux files
/var/adm/rational/clearcase/rgy/regions
Windows files
ccase-home-dir\var\rgy\regions
Windows registry keys
HKEY_LOCAL_MACHINE\SOFTWARE\Atria\ClearCase\CurrentVersion\Region