lssg - List library SlotGroups

List the SlotGroup objects that have been reported for the known tape libraries.

The lssg command identifies which library slots are capable of injecting and ejecting cartridges, and which slots are available only internal to the library.

Syntax

lssg [-l | -s | -x | -v | -lib library_name | -bay bay_name | -hdr [on|off] | 
-help, -? | -match c | -order c | -number c 
| -fmt [xml|stanza|delim=c]] [SlotGroup_name]

Parameters

-lib library_name
Specifies the library for which the slotgroups should be included in the list.
-bay bay_name
Specifies the bay for which the slotgroups should be included in the list.
-pclcartridgePCL
Specifies the PCL of a cartridge to search for the slot where the given cartridge located
SlotGroup_name [...]
Specifies the SlotGroup names to be included in the list. Multiple names must be separated with a blank character between each name.

Results

Default tabular output for each application instance listed includes the following information (also serve as the headings for output):
  • Name
  • Library
  • Type: 'ordinary' indicates library internal slotgroups, 'port' slotgroups capable of inject or eject operations.
  • Direction: For 'port' slotgroups, the direction indicates if the slotgroup is capable of eject ('out'), inject ('in') or both ('both'). For 'ordinary' slotgroups, the direction is 'none'.

Long output includes:

  • Name
  • Library
  • Type
  • Direction
  • Bay

Short output only displays:

  • Name

Examples

lssg -lib MyTS3500-001

Related commands