查看设备信息示例:
# lscfg
INSTALLED RESOURCE LIST
The following resources are installed on the machine.
+/- = Added or deleted from Resource List.
* = Diagnostic support not available.
Model Architecture: chrp
Model Implementation: Multiple Processor, PCI bus
+ sys0 System Object
+ sysplanar0 System Planar
* vio0 Virtual I/O Bus
* vsa1 U787A.001.DPM104T-P1-T2 LPAR Virtual Serial Adapter
* vty1 U787A.001.DPM104T-P1-T2-L0 Asynchronous Terminal
* vsa0 U787A.001.DPM104T-P1-T1 LPAR Virtual Serial Adapter
* vty0 U787A.001.DPM104T-P1-T1-L0 Asynchronous Terminal
* pci1 U787A.001.DPM104T-P1 PCI Bus
* pci11 U787A.001.DPM104T-P1 PCI Bus
+ ent2 U787A.001.DPM104T-P1-C6-T1 10/100/1000 Base-TX PCI-X Adapter (14106902)
* pci9 U787A.001.DPM104T-P1 PCI Bus
* pci7 U787A.001.DPM104T-P1 PCI Bus
* ide0 U787A.001.DPM104T-P1-T12 ATA/IDE Controller Device
+ cd0 U787A.001.DPM104T-P4-D2 IDE DVD-ROM Drive
* pci8 U787A.001.DPM104T-P1 PCI Bus
+ sisscsia0 U787A.001.DPM104T-P1 PCI-X Dual Channel Ultra320 SCSI Adapter
+ scsi0 U787A.001.DPM104T-P1-T10 PCI-X Dual Channel Ultra320 SCSI Adapter bus
+ rmt0 U787A.001.DPM104T-P1-T10-L0-L0 LVD SCSI 4mm Tape Drive (36000 MB)
+ hdisk0 U787A.001.DPM104T-P1-T10-L3-L0 16 Bit LVD SCSI Disk Drive (146800 MB)
+ hdisk1 U787A.001.DPM104T-P1-T10-L4-L0 16 Bit LVD SCSI Disk Drive (146800 MB)
+ ses0 U787A.001.DPM104T-P1-T10-L15-L0 SCSI Enclosure Services Device
+ scsi1 U787A.001.DPM104T-P1-T11 PCI-X Dual Channel Ultra320 SCSI Adapter bus
* pci10 U787A.001.DPM104T-P1 PCI Bus
+ fcs1 U787A.001.DPM104T-P1-C5-T1 FC Adapter
* fcnet1 U787A.001.DPM104T-P1-C5-T1 Fibre Channel Network Protocol Device
+ fscsi1 U787A.001.DPM104T-P1-C5-T1 FC SCSI I/O Controller Protocol Device
* pci0 U787A.001.DPM104T-P1 PCI Bus
* pci4 U787A.001.DPM104T-P1 PCI Bus
* pci5 U787A.001.DPM104T-P1 PCI Bus
* pci2 U787A.001.DPM104T-P1 PCI Bus
+ usbhc0 U787A.001.DPM104T-P1 USB Host Controller (33103500)
+ usbhc1 U787A.001.DPM104T-P1 USB Host Controller (33103500)
+ usbhc2 U787A.001.DPM104T-P1 USB Enhanced Host Controller (3310e000)
* pci3 U787A.001.DPM104T-P1 PCI Bus
+ ent0 U787A.001.DPM104T-P1-T5 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
+ ent1 U787A.001.DPM104T-P1-T6 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
* pci6 U787A.001.DPM104T-P1 PCI Bus
+ fcs0 U787A.001.DPM104T-P1-C4-T1 FC Adapter
* fcnet0 U787A.001.DPM104T-P1-C4-T1 Fibre Channel Network Protocol Device
+ fscsi0 U787A.001.DPM104T-P1-C4-T1 FC SCSI I/O Controller Protocol Device
+ L2cache0 L2 Cache
+ mem0 Memory
+ proc0 Processor
+ proc2 Processor
该命令后面还可以跟一些参数,具体可以研究一下。
查看某块硬盘信息示例:
# lscfg -l hdisk0
hdisk0 U787A.001.DPM104T-P1-T10-L3-L0 16 Bit LVD SCSI Disk Drive (146800 MB)
参数-v又是干嘛用的呢?输个示例就明白了:
# lscfg -v
INSTALLED RESOURCE LIST WITH VPD
The following resources are installed on your machine.
Model Architecture: chrp
Model Implementation: Multiple Processor, PCI bus
sys0 System Object
sysplanar0 System Planar
vio0 Virtual I/O Bus
vsa1 U787A.001.DPM104T-P1-T2 LPAR Virtual Serial Adapter
Hardware Location Code......U787A.001.DPM104T-P1-T2
vty1 U787A.001.DPM104T-P1-T2-L0 Asynchronous Terminal
vsa0 U787A.001.DPM104T-P1-T1 LPAR Virtual Serial Adapter
Hardware Location Code......U787A.001.DPM104T-P1-T1
vty0 U787A.001.DPM104T-P1-T1-L0 Asynchronous Terminal
pci1 U787A.001.DPM104T-P1 PCI Bus
Hardware Location Code......U787A.001.DPM104T-P1
pci11 U787A.001.DPM104T-P1 PCI Bus
Hardware Location Code......U787A.001.DPM104T-P1
ent2 U787A.001.DPM104T-P1-C6-T1 10/100/1000 Base-TX PCI-X Adapter (14106902)
10/100/1000 Base-TX PCI-X Adapter:
Part Number.................00P6130
FRU Number..................00P6130
EC Level....................H12818
Manufacture ID..............YL1021
Network Address.............001125BFB48D
ROM Level.(alterable).......GOL021
Hardware Location Code......U787A.001.DPM104T-P1-C6-T1
pci9 U787A.001.DPM104T-P1 PCI Bus
Hardware Location Code......U787A.001.DPM104T-P1
pci7 U787A.001.DPM104T-P1 PCI Bus
Hardware Location Code......U787A.001.DPM104T-P1
ide0 U787A.001.DPM104T-P1-T12 ATA/IDE Controller Device
Hardware Location Code......U787A.001.DPM104T-P1-T12
cd0 U787A.001.DPM104T-P4-D2 IDE DVD-ROM Drive
Manufacturer................IBM
Machine Type and Model......DROM00205
ROS Level and ID............NR38
Device Specific.(Z0)........058002028F000010
pci8 U787A.001.DPM104T-P1 PCI Bus
Hardware Location Code......U787A.001.DPM104T-P1
sisscsia0 U787A.001.DPM104T-P1 PCI-X Dual Channel Ultra320 SCSI Adapter
Hardware Location Code......U787A.001.DPM104T-P1
scsi0 U787A.001.DPM104T-P1-T10 PCI-X Dual Channel Ultra320 SCSI Adapter bus
ROM Level.(alterable).......070A0011
Customer Card ID Number.....570A
rmt0 U787A.001.DPM104T-P1-T10-L0-L0 LVD SCSI 4mm Tape Drive (36000 MB)
Manufacturer................IBM
Machine Type and Model......DDS Gen5
Device Specific.(Z1)........B015
省略一些
L2cache0 L2 Cache
mem0 Memory
proc0 Processor
proc2 Processor
欢迎光临 重庆思庄Oracle、Redhat认证学习论坛 (http://bbs.cqsztech.com/) | Powered by Discuz! X3.2 |