[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 System User's Guide: Operating System and Devices

Listing the Devices in Your System (lscfg Command)

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

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

lscfg

The system displays a message 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. 
 
+  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
*  f2bus0       00-00            Micro Channel Bus
+  rs2320       00-01            RS232 Card
+  tty0         00-01-0-01       RS232 Card Port
-  tty1         00-01-0-02       RS232 Card Port
   ..
   ..
   ..

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, enter:

lscfg -l sysplanar0

The system displays a message 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 vital product data is collected automatically and added to the system configuration. For other devices, the VPD information is entered manually. An ME preceding the data signifies that the data was entered manually.

For example, to list the devices configured in your system with vital product data, at the prompt, enter:

lscfg -v

The system displays a message similar to the following:

INSTALLED RESOURCE LIST WITH VPD
The following devices are installed in your system.
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 Version 4.3 Commands Reference for the exact syntax.


[ Previous | Next | Contents | Glossary | Home | Search ]