AIXDisplayHardware

== How to display the hardware of an AIX machine ==

== Overview ==

Displaying the hardware of the current AIX machine can be very helpful... Especially when the machine is far away from your desk. Here are several suggestions. You may want to combine several of these for best results, based on your needs.

Please note that the following is not an exhaustive list: there are other commands ({{{lsconf}}} for instance) that may give slightly different results, and these may be more interesting for you. Please refer to the man pages in the "See Also" section below for more informations and suggestions.

== The 'prtconf' command ==

The {{{prtconf}}} command displays a fairly detailed report on any AIX machine, including number of processors and total RAM.

The great thing with this command is that it can be launched by anyone, not just {{{root}}}.

Here is an example of the output of this command:

{{{ andre@galactus$ prtconf System Model: IBM,9133-55A Machine Serial Number: 06C73AG Processor Type: PowerPC?_POWER5 Number Of Processors: 4 Processor Clock Speed: 1900 MHz CPU Type: 64-bit Kernel Type: 64-bit LPAR Info: 3 GALACTUS Memory Size: 7680 MB Good Memory Size: 7680 MB Platform Firmware level: Not Available Firmware Version: IBM,SF240_202 Console Login: enable Auto Restart: true Full Core: false

Network Information Host Name: galactus IP Address: 10.128.100.74 Sub Netmask: 255.255.255.0 Gateway: 10.128.100.1 Name Server: 193.57.22.16 Domain Name: example.com

Paging Space Information Total Paging Space: 28128MB Percent Used: 21%

Volume Groups Information ============================================================================== rootvg: PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION hdisk2 active 479 0 00..00..00..00..00 ==============================================================================

sanvg3: PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION hdisk5 active 159 0 00..00..00..00..00 hdisk8 active 319 29 00..00..00..00..29 ==============================================================================

sanvg1: PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION hdisk3 active 127 0 00..00..00..00..00 hdisk7 active 319 0 00..00..00..00..00 hdisk11 active 639 60 00..00..00..00..60 ==============================================================================

sanvg2: PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION hdisk4 active 159 0 00..00..00..00..00 ==============================================================================

sanvg4: PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION hdisk0 active 319 0 00..00..00..00..00 ==============================================================================

sanvg5: PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION hdisk1 active 239 0 00..00..00..00..00 hdisk10 active 319 71 00..00..00..07..64 ==============================================================================

sanvg8: PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION hdisk6 active 559 18 00..00..00..00..18 ==============================================================================

san_vg_whde: PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION hdisk12 active 119 8 00..00..00..00..08 ==============================================================================

sanvg9: PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION hdisk13 active 799 0 00..00..00..00..00 hdisk18 active 239 17 00..00..00..00..17 ==============================================================================

sanvg10: PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION hdisk15 active 399 0 00..00..00..00..00 hdisk14 active 319 5 00..00..00..00..05 ==============================================================================

sanvg12: PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION hdisk9 active 159 8 00..00..00..00..08 ==============================================================================

swapvg: PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION hdisk16 active 479 0 00..00..00..00..00 ==============================================================================

sanvg13: PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION hdisk17 active 639 8 00..00..00..00..08 ==============================================================================

sanvg14: PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION hdisk19 active 319 8 00..00..00..00..08 ==============================================================================

sanvg15: PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION hdisk20 active 639 8 00..00..00..00..08 ==============================================================================

INSTALLED RESOURCE LIST

The following resources are installed on the machine. +/- = Added or deleted from Resource List.

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

+ sys0 System Object + sysplanar0 System Planar

== The 'lsdev' command ==

Less detailed that {{{prtconf}}}, the {{{lsdev}}} command lists all devices present in a machine.

It can also be run by anyone, not just {{{root}}}:

{{{ andre@galactus$ lsdev L2cache0 Available L2 Cache aio0 Available Asynchronous I/O (Legacy) cd0 Available 01-08-00 IDE DVD-ROM Drive en0 Available Standard Ethernet Network Interface ent0 Available Virtual I/O Ethernet Adapter (l-lan) et0 Defined IEEE 802.3 Ethernet Network Interface gxme0 Defined Graphics Data Transfer Assist Subsystem hd1 Defined Logical volume hd2 Defined Logical volume hd3 Defined Logical volume hd4 Defined Logical volume hd5 Defined Logical volume hd6 Defined Logical volume hd8 Defined Logical volume hd10opt Defined Logical volume hd9var Defined Logical volume hdisk0 Available Virtual SCSI Disk Drive hdisk1 Available Virtual SCSI Disk Drive hdisk2 Available Virtual SCSI Disk Drive hdisk3 Available Virtual SCSI Disk Drive hdisk4 Available Virtual SCSI Disk Drive hdisk5 Available Virtual SCSI Disk Drive hdisk6 Available Virtual SCSI Disk Drive hdisk7 Available Virtual SCSI Disk Drive hdisk8 Available Virtual SCSI Disk Drive hdisk9 Available Virtual SCSI Disk Drive hdisk10 Available Virtual SCSI Disk Drive hdisk11 Available Virtual SCSI Disk Drive hdisk12 Available Virtual SCSI Disk Drive hdisk13 Available Virtual SCSI Disk Drive hdisk14 Available Virtual SCSI Disk Drive hdisk15 Available Virtual SCSI Disk Drive hdisk16 Available Virtual SCSI Disk Drive hdisk17 Available Virtual SCSI Disk Drive hdisk18 Available Virtual SCSI Disk Drive hdisk19 Available Virtual SCSI Disk Drive hdisk20 Available Virtual SCSI Disk Drive ide0 Available 01-08 ATA/IDE Controller Device inet0 Available Internet Network Extension iscsi0 Available iSCSI Protocol Device lg_dumplv Defined Logical volume lo0 Available Loopback Network Interface loglv00 Defined Logical volume loglv01 Defined Logical volume loglv02 Defined Logical volume loglv03 Defined Logical volume loglv04 Defined Logical volume loglv05 Defined Logical volume loglv06 Defined Logical volume loglv07 Defined Logical volume loglv08 Defined Logical volume loglv09 Available Logical volume loglv10 Defined Logical volume loglv11 Available Logical volume loglv12 Available Logical volume lvdd Available LVM Device Driver lvsan1 Defined Logical volume lvsan2 Defined Logical volume lvsan3 Defined Logical volume lvsan4 Defined Logical volume lvsan5 Defined Logical volume lvsan8 Defined Logical volume lvsan19745 Defined Logical volume lvsan13_1 Available Logical volume lvsan14_1 Available Logical volume lvsan15_1 Available Logical volume lvsanSUP102SI Defined Logical volume lvsan_vg12 Defined Logical volume mem0 Available Memory paging00 Defined Logical volume paging01 Defined Logical volume pci0 Available PCI Bus pci1 Available 00-14 PCI Bus posix_aio0 Defined Posix Asynchronous I/O proc0 Available 00-00 Processor proc2 Available 00-02 Processor proc4 Available 00-04 Processor proc6 Available 00-06 Processor pty0 Available Asynchronous Pseudo-Terminal rcm0 Defined Rendering Context Manager Subsystem rootvg Defined Volume group san_vg_whde Defined Volume group san_whde Defined Logical volume sanvg1 Defined Volume group sanvg2 Defined Volume group sanvg3 Defined Volume group sanvg4 Defined Volume group sanvg5 Defined Volume group sanvg8 Defined Volume group sanvg9 Defined Volume group sanvg10 Defined Volume group sanvg12 Defined Volume group sanvg13 Available Volume group sanvg14 Available Volume group sanvg15 Available Volume group swapvg Defined Volume group sys0 Available System Object sysplanar0 Available System Planar vio0 Available Virtual I/O Bus vsa0 Available LPAR Virtual Serial Adapter vscsi0 Available Virtual SCSI Client Adapter vty0 Available Asynchronous Terminal }}}

== See Also: ==