Commands Reference, Volume 3, I-m
Lscfg Command
Purpose
Displays configuration, diagnostic, and vital product data (VPD) information about the system.
Syntax
To Display specific Data in all Systems
Lscfg [-v] [-p] [-S] [-l Name]
Description
If you run the LSCFG command without any flags, it displays the name, location and description of each device Found in the current customized VPD object class, a child device of the Sys0 object. It won't display any device, which has been marked missing in the customized device Object Class. The list is sorted by parent, child, and device location. Information on a specific device can is displayed with The-l flag.
Use the LSCFG command to display vital product data (VPD) such as part numbers, serial numbers, and Engineerin G change levels from either the customized VPD object class or platform specific areas. Not all devices contain VPD data.
VPD data preceded by ME signifies, the VPD data was entered manually using a diagnostic service AI D. For some devices, the vital product data was collected automatically from the devices through methods and ad Ded to the customized VPD object class.
 IF you run the lscfg command with The-p flag, it displays device inf Ormation stored in the platform specific data areas. When used and The-v flag,  VPD data stored for these devices are also Displayed. This information are obtained on a common hardware Reference Platform (CHRP) system from THE&NBSP ; open firmware device tree. -l name Displays device information for the named device.  -P&NB Sp Displays the platform-specific device Informat Ion. This flag is applies to aix 4.2.1 or later. -v displays tHe VPD found in the customized vpd object class. Also, on AIX 4.2.1 or later, displays platform specific VPD when used with THE-P flag.
-S Displays the device description on a separate line from the name and location.
Examples 1 To display the system configuration, enter:
Lscfg
The system displays a message similar to the following:
Installed RESOURCE LIST
The following resources is installed on the machine:
+/-= Added or deleted from Resource list. &NB Sp * = Diagnostic support Not available. + indicates the resource have been ad Ded to the Diagnostic Resource List. The resource is added to the Diagnostic resource list by default when the Diagnos Tic Fileset is installed. a resource must be in the Diagnostic resource List before diagnostics tasks can B e performed on the resource. indicates The resource is deleted from the Diagnostic resource list. The resource can Added or deleted from the Resource List by running the diag command, and using th E Task Selection menu to select either Add Resource to resource &NBsp List, or Delete Resource from Resource list. Diagnostic Supp ORT for a resource, indicated by the + character are not necessarily inclusive of All diagnostic tasks. Some Resources is supported with a subset of diagnostic tasks, and that subs Et might or might not include the Run diagnostics task. Model Architecture : chrp Model implementation:multiple Processor, PCI bus &nbs P + sys0 &NB Sp System object + sysplanar0 &NBSP ; System planar + mem0 memory + L 2CACHE0 L2 cache & nbsp + proc0  U1.1-P1-C1 Processor &NBSP ; * pci3 U0.2-P1 PCI bus &N Bsp + scsi0  U0.1-P1/Z1 wide/ultra-2 S CSI I/O controller + rmt0 U1.1-P1/Z1-A3 SCSI 4mm Tape Drive (12000 MB) + cd0 & nbsp  U1.1-P1/Z1-A5 SCSI Multimedia CD-ROM drive (650 MB) + hdisk0 U1.1-P1/Z1-A9 A-Bit LVD SCSI Disk Drive (4500 MB) + Fd0  U0.1-P1-D1 diskette drive &NBS P .. .  2  TO display the system configuration with the & nbsp Device description on a separate line, enter:
Lscfg-s
The system displays a message similar to the following:
Installed RESOURCE LIST
The following resources is installed on the machine:
+/-= Added or deleted from Resource List.
* = Diagnostic support not available.
Model ARCHITECTURE:CHRP Model Implementation:multiple Processor, PCI bus
+ indicates the resource have been added to the Diagnostic resource List. The resource is added to the Diagnostic resource list by default when the Diagnos Tic Fileset is installed. a resource must be in the Diagnostic resource List before diagnostics tasks can B e performed on the resource. indicates The resource is deleted from the Diagnostic resource list. The resource can Added or deleted from the Resource List by running the diag command, and using th E Task Selection menu to select either Add Resource to resource List, or Delete R Esource from Resource list. Diagnostic support for a Resource, indicated by the + CharActer isn't necessarily inclusive of all diagnostic tasks. Some Resources is supported with a subset of diagnostic tasks, and that subs Et might or might not include the Run diagnostics task. + sys0 &NBSP ; System object + sysplanar0 System planar + M em0 memory + l2cache0 L2 cache + proc0 U5734.100.1234567-P1-C1 (+) nbsp processor + proc1 U5734.100.1234567-P1-C2 & nbsp processor +hdisk0 U5734.100.1234567-P1-D9 + Bit LV D SCSI Disk Drive (4500 MB) +fd0 u5734.100.1234567-p1-d1 diskette drive . .  3 to Display the name, location, and description for devices specified by the logical name proc without VPD, enter:
lscfg-lproc\*
The system displays information for all devices with logical names beginning with Proc, as follows:
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 &NBSp;4 to Display the VPD for a specific device specified by the logic Al name Ent0, enter:
Lscfg-v-L ENT0
The system displays the following:
ent0 U0.1-P1-I2/E1 Gigabi T 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 5 to display the VPD in the Open firmware device tree for the corresponding node to thE ent0 device, enter:
Lscfg-vp-lent0
The following is displayed:
ent0 U0.1-P1-I2/E1 gigabi T 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 & nbsp Name: ethernet &NBSP Model: galaxy, EtherLink 1000-sx-ibm Nod E: [email protected] Device Type: network &n Bsp Physical location:u0.1-p1-i2/e1
Files
/usr/sbin/lscfg Contains the lscfg command.
Related information
The lsattr command, lsconn command, lsdev command, lsparent command.
From for notes (Wiz)
IBM AIX System hardware configuration Information view command----LSCFG