How do I display devices or hardware on aix?
-
Use lsdev command to list hardware on AIX. It list information from the Device Configuration Database, device are listed by the type of class they are in.
To list configured devices on the system. Note they still may not be available to use
# lsdev -C sio0 Available 00-00 Standard I/O Planar fda0 Available 00-00-0D Standard I/O Diskette Adapter sa0 Available 00-00-S1 Standard I/O Serial Port 1 sa1 Available 00-00-S2 I/O Serial Port 2 tty0 Defined Asynchronous Terminal . . .
To list disks
# lsdev -Cc disk hdisk0 Available 40-60-00-4,0 16 Bit LVD SCSI Disk Drive hdisk1 Available 40-60-00-8,0 16 Bit LVD SCSI Disk Drive vpath0 Available Data Path Optimizer Pseudo Device Driver vpath1 Available Data Path Optimizer Pseudo Device Driver hdisk2 Available 11-08-01 IBM FC 2105800 hdisk3 Available 11-08-01 IBM FC 2105800 hdisk4 Available 11-08-01 IBM FC 2105800 hdisk5 Available 11-08-01 IBM FC 2105800 hdisk6 Available 14-08-01 IBM FC 2105800 hdisk7 Available 14-08-01 IBM FC 2105800
To list CPUs/processors
# lsdev -C |grep Processor proc0 Available 00-00 Processor proc1 Available 00-01 Processor proc2 Available 00-02 Processor proc3 Available 00-03 Processor proc4 Available 00-04 Processor proc5 Available 00-05 Processor proc6 Available 00-06 Processor proc7 Available 00-07 Processor
To list adapters
# lsdev -Cc adapter sa0 Available 01-S1 Standard I/O Serial Port sa1 Available 01-S2 Standard I/O Serial Port sa2 Available 01-S3 Standard I/O Serial Port siokma0 Available 01-K1 Keyboard/Mouse Adapter fda0 Available 01-D1 Standard I/O Diskette Adapter scsi0 Available 10-60 Wide SCSI I/O Controller mga0 Available 20-58 GXT120P Graphics Adapter scsi1 Available 20-60 Wide/Fast-20 SCSI I/O Controller scsi2 Available 30-58 Wide SCSI I/O Controller sioka0 Available 01-K1-00 Keyboard Adapter ppa0 Available 01-R1 Standard I/O Parallel Port Adapter tok0 Available 10-68 IBM PCI Tokenring Adapter (14101800) ssa0 Available 10-70 IBM SSA Enhanced RAID Adapter (14104500) ent0 Available 10-78 IBM 10/100/1000 Base-T Ethernet PCI Adapter ent1 Available 10-80 IBM PCI Ethernet Adapter (22100020) scraid0 Available 30-60 IBM PCI SCSI RAID Adapter sioma0 Available 01-K1-01 Mouse Adapter
© Lightnetics 2024