IPnom Home • Manuals • ClearCase

 Rational ClearCase Commands Reference

ClearCase Stuff:ClearCase LinksClearCase BooksClearCase Commands ReferenceClearCase ForumsClearCase News
Keyword Live Search (10 results max):
 Type in part of a ClearCase command in the search box.
 
Commands Index:
  intro
  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

lsclients

Displays the client host list for a ClearCase license or registry server host, or for a ClearCase LT server host

APPLICABILITY

ProductCommand type
ClearCasecleartool subcommand
ClearCase LTcleartool subcommand

Platform
UNIX
Windows

SYNOPSIS

  • ClearCase:
    lsclients –hos·t hostname [ –typ·e { registry | license | all } ]
    [ –s·hort | –l·ong ]

  • ClearCase LT:
    lsclients [ –s·hort | –l·ong ]

DESCRIPTION

On every ClearCase license server host and registry server host, the albd_server process maintains a list of current client hosts. On the ClearCase LT server host, albd_server maintains a list of hosts that are clients of its registry. If a client host does not access a server host for 30 days, albd_server drops it from that server host's client host list. For more information about albd_server, see the Administrator's Guide.

For product patch information, use cleartool –ver.

RESTRICTIONS

None.

OPTIONS AND ARGUMENTS

Specifying a Host

Default
None. You must supply a license or registry server host name.

–hos·t hostname
Specifies the registry or license server host. Only license and registry server hosts maintain client lists. If you specify a host that is not a license or registry server host, lsclients prints a message indicating that the host has no clients.

Specifying the Type of Server Host

Default
–all.

–typ·e { registry | license | all }
Use –type registry or –type license to restrict the listing to include only clients of registry server hosts or clients of license server hosts, respectively.

Listing Format

Default
Displays a one-line description of each client.

–s·hort
Displays client host names only.

–l·ong
ClearCase—Expands the listing to include each client's registry server host, registry region, license server host, and date and time of the last server access.

ClearCase LT—Displays information about the client host, including the date and time of the last server access.

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.

  • Display the sorted client list for license server host bromacil.

    cmd-context lsclients –host bromacil –type license | sort 
    ...
    durian: ClearCase 4.1 (OSF1 V5.1 732 alpha)
    indeno: ClearCase 4.1 (SunOS 5.7 Generic_106541-08 sun4u)
    lead: ClearCase 4.2 (SunOS 5.8 Generic_108528-01 sun4m)
    lowell: ClearCase 4.1 (IRIX64 6.5 04151556 IP30)
    scorpius: ClearCase 4.2 (HP-UX B.11.00 A 9000/785)
    ...

  • Display the long format client list for registry server host atrium.

    cmd-context lsclients –host atrium –long 
    ...
    Client: pyramid
      Product: ClearCase 4.1 
      Operating system: Windows NT 4.0 (build 1381)Service Pack 6
      Hardware type: Pentium
      Registry host: atrium
      Registry region: atria_r_d_unc
      License host: maple
      Last registry access: 20-Nov-00.04:32:08
      Last license access: never
    ...

UNIX FILES

/var/adm/rational/clearcase/rgy/rgy_hosts.conf
/var/adm/rational/clearcase/rgy/rgy_svr.conf
/var/adm/rational/clearcase/rgy/rgy_region.conf
/var/adm/rational/clearcase/config/license_host

WINDOWS REGISTRY KEYS

HKEY_LOCAL_MACHINE\SOFTWARE\Atria\ClearCase\CurrentVersion\AtriaRegy
HKEY_LOCAL_MACHINE\SOFTWARE\Atria\ClearCase\CurrentVersion\Region
HKEY_LOCAL_MACHINE\SOFTWARE\Atria\ClearCase\CurrentVersion\ServerType
HKEY_LOCAL_MACHINE\SOFTWARE\Atria\ClearCase\CurrentVersion\LicenseHost

SEE ALSO

clearlicense, Administrator's Guide

SPONSORED LINKS



 

ClearCase Links • ClearCase Books • ClearCase Commands Reference • ClearCase Forums • ClearCase News