Solaris のシステム管理 (基本編)

x86: PCI スロット構成情報を表示する方法

cfgadm コマンドは、システム上の PCI ホットプラグ可能なデバイスとスロットの状態を表示します。詳細については cfgadm(1M) のマニュアルページを参照してください。

  1. スーパーユーザーになります。

  2. PCI スロット構成情報を表示します。


    # cfgadm
    Ap_Id                Type         Receptacle   Occupant     Condition
    pci1:hpc0_slot0      unknown      empty        unconfigured unknown
    pci1:hpc0_slot1      unknown      empty        unconfigured unknown
    pci1:hpc0_slot2      unknown      empty        unconfigured unknown
    pci1:hpc0_slot3      ethernet/hp  connected    configured   ok
    pci1:hpc0_slot4      unknown      empty        unconfigured unknown

    具体的な PCI デバイス情報を表示します。


    # cfgadm -s "cols=ap_id:type:info" pci
    Ap_Id                Type         Information
    pci1:hpc0_slot0      unknown      Slot 7
    pci1:hpc0_slot1      unknown      Slot 8
    pci1:hpc0_slot2      unknown      Slot 9
    pci1:hpc0_slot3      ethernet/hp  Slot 10
    pci1:hpc0_slot4      unknown      Slot 11

論理 Ap_Idpci1:hpc0_slot0 は、ホットプラグ可能なスロット Slot 7 の論理 Ap_Id です。構成要素 hpc0 はこのスロットのホットプラグ可能なアダプタカードを示し、pci1 は PCI バスのインスタンスを示します。Type フィールドは、スロット中の PCI アダプタカードのタイプを示します。