lscfg コマンド
目的
システムに関する構成、診断および重要プロダクト・データの情報を表示します。
構文
すべてのシステム上で特定のデータを表示する場合
説明
フラグを指定せずに lscfg コマンドを実行すると、 sys0 オブジェクトの子デバイスである現在のカスタマイズ済み VPD オブジェクト・クラスで検出された各デバイスの名前、 位置、および記述が表示されます。 このコマンドは、カスタマイズ・デバイス・オブジェクト・クラスで missing と マークされているデバイスは表示しません。 このリストは、親、子、およびデバイスの位置別に分類されます。 特定のデバイスに関する情報は、 -l フラグを指定すると表示できます。
lscfg コマンドは、 パーツ番号、シリアル番号、 およびカスタマイズ済み VPD オブジェクト・クラスまたはプラットフォーム固有領域のどちらかからの技術変更レベルなどの重要プロダクト・データを表示できます。 すべてのデバイスに VPD データが含まれているわけではありません。
VPD データの前に ME が付いている場合は、 そのデータが診断サービス・エイドを使用して手動で入力されたことを示します。 デバイスによっては、 重要プロダクト・データが自動的にメソッドを通じてデバイスから収集されて、 カスタマイズ済み VPD オブジェクト・クラスに追加されます。
-p フラグを指定して lscfg コマンドを実行すると、 プラットフォーム固有のデータ領域に保管されているデバイスの情報が表示されます。 -v フラグを指定した場合には、 これらのデバイスについて保管されている VPD データも表示されます。 この情報は、オープン・ファームウェア・デバイス・ツリーから共通ハードウェア・リファレンス・プラットフォーム (CHRP) システム上で取得されます。
項目 | 説明 |
---|---|
-l Name | 指定されたデバイスについてのデバイス情報を表示します。 |
-p | プラットフォーム固有のデバイス情報を表示します。 |
-v | カスタマイズ済みの VPD オブジェクト・クラス内にある VPD を表示します。 また、-p フラグと共に使用された場合にプラットフォーム固有の VPD を表示します。 |
-s | 名前および位置とは別の行にデバイス記述を表示します。 |
例
- システム設定を表示するには、次のように入力します。
lscfg
システムは次のようなメッセージを表示します。INSTALLED RESOURCE LIST
次のリソースがマシンにインストールされています。+/- = Added or deleted from Resource List. * = Diagnostic support not available. + indicates the resource has been added to the Diagnostic Resource List. The resource is added to the Diagnostic Resource list by default when the diagnostic fileset is installed. A resource must be in the Diagnostic Resource List before diagnostics tasks can be performed on the resource. - indicates the resource was deleted from the Diagnostic Resource List. The resource can be added or deleted from the Resource List by running the diag command, and using the Task Selection menu to select either Add Resource to Resource List, or Delete Resource from Resource List. Diagnostic support for a resource, indicated by the + character is not necessarily inclusive of all diagnostic tasks. Some resources are only supported with a subset of diagnostic task, and that subset might or might not include the Run Diagnostics Task. Model Architecture: chrp Model Implementation: Multiple Processor, PCI bus + sys0 System Object + sysplanar0 System Planar + mem0 Memory + L2cache0 L2 Cache + proc0 U1.1-P1-C1 Processor * pci3 U0.2-P1 PCI Bus + scsi0 U0.1-P1/Z1 Wide/Ultra-2 SCSI I/O Controller + rmt0 U1.1-P1/Z1-A3 SCSI 4mm Tape Drive (12000 MB) + cd0 U1.1-P1/Z1-A5 SCSI Multimedia CD-ROM Drive (650 MB) + hdisk0 U1.1-P1/Z1-A9 16 Bit LVD SCSI Disk Drive (4500 MB) + fd0 U0.1-P1-D1 Diskette Drive .. ..
- デバイス記述が別の行に表示されるようにシステム構成を表示するには、次のように入力します。
lscfg -s
システムは次のようなメッセージを表示します。INSTALLED RESOURCE LIST
次のリソースがマシンにインストールされています。+/- = Added or deleted from Resource List. * = Diagnostic support not available. Model Architecture: chrp Model Implementation: Multiple Processor, PCI bus + indicates the resource has been added to the Diagnostic Resource List. The resource is added to the Diagnostic Resource list by default when the diagnostic fileset is installed. A resource must be in the Diagnostic Resource List before diagnostics tasks can be performed on the resource. - indicates the resource was deleted from the Diagnostic Resource List. The resource can be added or deleted from the Resource List by running the diag command, and using the Task Selection menu to select either Add Resource to Resource List, or Delete Resource from Resource List. Diagnostic support for a resource, indicated by the + character is not necessarily inclusive of all diagnostic tasks. Some resources are only supported with a subset of diagnostic task, and that subset might or might not include the Run Diagnostics Task. + sys0 System Object + sysplanar0 System Planar + mem0 Memory + L2cache0 L2 Cache + proc0 U5734.100.1234567-P1-C1 Processor + proc1 U5734.100.1234567-P1-C2 Processor +hdisk0 U5734.100.1234567-P1-D9 16 Bit LVD SCSI Disk Drive (4500 MB) +fd0 U5734.100.1234567-P1-D1 Diskette Drive .. ..
- VPD なしに、
論理名 proc により指定されたデバイスの名前、位置、および記述を表示するには、次のように入力します。
lscfg -lproc¥*
システムは、論理名が proc で始まるすべてのデバイスについての情報を表示します。proc0 U1.1-P1-C1 Processor proc1 U1.1-P1-C1 Processor proc2 U1.1-P1-C1 Processor proc3 U1.1-P1-C1 Processor proc4 U1.1-P1-C2 Processor proc5 U1.1-P1-C2 Processor proc6 U1.1-P1-C2 Processor proc7 U1.1-P1-C2 Processor
- 論理名 ent0 により指定された特定のデバイスについて VPD を表示するには、
次のように入力します。
lscfg -v -l ent0
システムは、次のように表示します。ent0 U0.1-P1-I2/E1 Gigabit Ethernet-SX PCI Adapter (14100401) Network Address.............0004AC7C00C4 Displayable Message.........Gigabit Ethernet-SX PCI Adapter (14100401) EC Level....................E77998 Part Number.................07L8916 FRU Number..................07L8918 Device Specific.(YL)........U0.1-P1-I2/E1
- ent0 デバイスの対応ノードについてオープン・ファームウェア・デバイス・ツリー内の VPD を表示するには、次のように入力します。
lscfg -vp -lent0
次のように表示されます。ent0 U0.1-P1-I2/E1 Gigabit Ethernet-SX PCI Adapter (14100401) Network Address.............0004AC7C00C4 Displayable Message.........Gigabit Ethernet-SX PCI Adapter (14100401) EC Level....................E77998 Part Number.................07L8916 FRU Number..................07L8918 Device Specific.(YL)........U0.1-P1-I2/E1 PLATFORM SPECIFIC Name: ethernet Model: Galaxy, EtherLink 1000-SX-IBM Node: ethernet@1 Device Type: network Physical Location: U0.1-P1-I2/E1
ファイル
項目 | 説明 |
---|---|
/usr/sbin/lscfg | lscfg コマンドが入っています。 |