[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

Commands Reference, Volume 3


lsslot Command

Purpose

Displays dynamically reconfigurable slots, such as hot plug slots, and their characteristics.

Syntax

lsslot -c ConnectorType [ -a | -o | -l DeviceName | -s Slot ] [ -F Delimiter ]

Description

The lsslot command displays all the specified hot plug slots and their characteristics. Hot plug slots are the plug-in points for connecting entities that can be added and removed from the system without turning the system power off or rebooting the operating system. The -c flag is required. It specifies the type of hot plug connector, for example, pci for hot pluggable PCI adapters. You can display only the empty, that is, available, hot plug slots with the -a flag, the occupied slots with the -o flag, or a specific slot by using the -s flag. The -l flag can be used to locate the slot associated with specified DeviceName, as listed by the lsdev command.

The output of the lsslot command is dependent on the ConnectorType and the platform on which the command is executed. The characteristics of a slot may include the following:

Flags


-a Displays available hot plug slots and their characteristics. Available slots are those slots that do not have a hot plug device connected.
-c ConnectorType Displays the slots of the specified ConnectorType. ConnectorType identifies the type of hot plug connector. For example, the ConnectorType for a hot plug PCI slot is pci. This flag is required.
-F Delimiter Specifies a single character to delimit the output. The heading is not displayed and the columns are delimited by the Delimiter character.
-l DeviceName Displays the characteristics of the slot to which DeviceName is connected. The DeviceName is the logical device name of the device connected to the slot, as listed by the lsdev command.
-o Displays the characteristics of the occupied slots. Occupied slots have a hot plug device connected.
-s Slot Displays characteristics for the specified Slot. The format of Slot is platform/connector_type dependent.

Examples

  1. To list the available PCI hot plug slots, enter:

    lsslot -c pci -a

    The system displays a message similar to the following:

    Slot name Description Device(s) Connected
    U0.4-P1-I1 PCI 64 bit, 66MHz, 3.3 volt slot empty
    U0.4-P1-I2 PCI 64 bit, 66MHz, 3.3 volt slot empty
    U0.4-P1-I3 PCI 64 bit, 66MHz, 3.3 volt slot empty
  2. To list the PCI hot plug slot associated with a scsi adapter named scsi1, enter:

    lsslot -c pci -l scsi1

    The system displays a message similar to the following:

    Slot name Description Device(s) Connected
    U0.4-P1-I1 PCI 64 bit, 33MHz, 5 volt slot scsi1
  3. To list all the PCI hot plug slots, enter:

    lsslot -c pci

    The system displays a message similar to the following:

    Slot name Description Device(s) Connected
    U0.4-P1-I1 PCI 64 bit, 33MHz, 3.3 volt slot empty
    U0.4-P1-I2 PCI 64 bit, 33MHz, 3.3 volt slot scsi0
    U0.4-P1-I3 PCI 64 bit, 33MHz, 3.3 volt slot unknown
    U0.4-P1-I5 PCI 64 bit, 33MHz, 3.3 volt slot empty

    Slots that have unknown in the Device(s) Connected column have a device connected to the slot, but the device isn't in the ODM customized device (CuDv) database. This can be due to the device having been newly added but not configured yet, deleted with the rmdev -d command, or the system may not be installed with the software packages associated with the device.

Files


/usr/sbin/lsslot  

Related Information

The drslot command, the lsdev command.

For information about Hot Plug Management and PCI Hot Plug Support for PCI Adapters, see PCI Hot Plug Management in AIX 5L Version 5.1 System Management Concepts: Operating System and Devices.

For information about using PCI Hot Plug Support for PCI Adapters, see Managing Hot Plug Connectors in AIX 5L Version 5.1 System Management Guide: Operating System and Devices.


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]