AIX Tip of the Week

Listing the AIX System Configuration

Audience: All

Date: January 30, 2002

You can use the prtconf command to list your AIX hardware configuration. including CPU's, memory, adapters, disk and network. The prtconf command is available the current version of AIX 4.3.3**, and on AIX 5. For those running older versions of AIX, here's a list of commands that provide the same information.

General

prtconf			-  list system configuration
lscfg [-v]		- devices (-v = verbose for microcode levels, etc)
lscfg -v  		- devices verbose (microcode level, firmware, etc)
lsdev -Cc adapter	- adapter cards
lsdev -Cc disk		- disks
lsdev -Cc processor     - CPU's
lsattr -El sys0		- serial number, model number, memory

AIX

oslevel			- AIX OS level
instfix -i |grep ML 	- AIX maintenance level
lslpp -l		- installed SW and levels

Disk

lsvg -o			- active volume groups
lsvg -p vgname		- disk drives in VG
lsvg -l  vgname		- LV's in VG
lslv  lvname		- LV detail
lslv -l lvname		- LV disk location 
lspv			- disks
lspv -l hdisk#		- LV's residing on a disk

Network

lsdev -Cc if		-List network interfaces
netstat -rn		-List network gateways

**If you can't upgrade to the current version of AIX, you can still download the prtconf tool from http://www.alphaworks.ibm.com/tech/systemv.


Bruce Spencer,
baspence@us.ibm.com