lscg - List cartridge groups

Purpose

List the cartridge group objects defined in the TSLM database. By default, all cartridge group objects are listed.

Syntax

lscg [cg_name [...]]

Parameters

type [...]
Specifies the name of the cartridge group to be included in the list. Multiple names must be separated with a blank character between each name. Displays all cartridge group objects, if no option is specified. The list is sorted ascending by the name attribute unless another sort order is provided with the generic option -order.

Results

Default tabular output for each drive group listed includes the following information (also serve as the headings for CLI table):
  • Name
  • Priority
  • ScratchPool (boolean value indicating if this is a ScratchPool)
  • Cartridges (the number of cartridges in this CartridgeGroup)
  • MountLimit (the number of drives from this group that can be mounted in parallel)
  • DeallocGroup (specifies the group CartridgeGroup that contains the cartridge after a dealloc operation

Short output only displays:

  • Name

Examples

lscg
lscg ScratchPool1
lscg -match "numgt(CartridgeGroup.Priority \"500\")"

Related commands