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

System User's Guide: Operating System and Devices

Listing System Devices (lscfg Command)

To display the name, location, and description of each device found in the current configuration, use the lscfg command. The list is sorted by device location.

For example, to list the devices configured in your system, at the prompt, type:

lscfg

Press Enter.

The system displays output similar to the following:

INSTALLED RESOURCE LIST
 
The following resources are installed on your machine. 
 
+/- = Added/Deleted from Diagnostic Test List. 
*   = NOT Supported by Diagnostics. 
 

  Model Architecture: chrp
  Model Implementation: Multiple Processor, PCI bus

+  sysplanar0   00-00            CPU Planar
+  fpa0         00-00            Floating Point Processor
+  mem0         00-0A            Memory Card
+  mem1         00-0B            Memory Card
+  ioplanar0    00-00            I/O Planar
+  rs2320       00-01            RS232 Card
+  tty0         00-01-0-01       RS232 Card Port
-  tty1         00-01-0-02       RS232 Card Port
   ..
   ..
   ..

The device list is not sorted by device location alone. It is sorted by the parent/child hierarchy. If the parent has multiple children, the children are sorted by device location. If the children have the same device location, they are displayed in the order in which they were obtained by the software. To display information about a specific device, you can use the -l flag. For example, to list the information on device sysplanar0, at the prompt, type:

lscfg -l sysplanar0

Press Enter.

The system displays output similar to the following:

DEVICE          LOCATION     DESCRIPTION
  
sysplanar0      00-00        CPU Planar

You can also use the lscfg command to display vital product data (VPD), such as part numbers, serial numbers, and engineering change levels. For some devices, the VPD is collected automatically and added to the system configuration. For other devices, the VPD is entered manually. An ME preceding the data indicates that the data was entered manually.

For example, to list VPD for devices configured in your system, at the prompt, type:

lscfg -v

Press Enter.

The system displays output similar to the following:

INSTALLED RESOURCE LIST WITH VPD

The following resources are installed in your machine.
  Model Architecture: chrp
  Model Implementation: Multiple Processor, PCI bus
sysplanar0   00-00   CPU Planar

   Part Number.........342522
   EC Level............254921
   Serial Number.......353535

fpa0   00-00   Floating Point Processor
mem0   00-0A   Memory Card

   EC Level............990221
.
.
.

See the lscfg command in the AIX 5L Version 5.2 Commands Reference for the complete syntax.

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