1.uname -uM //查看机器序列号
[P55A#/]uname -uM
IBM,9133-55A IBM,03064E69H
2.oslevel -s //查看操作系统版本
[P55A#/]oslevel -s
6100-07-04-1216
3.查看CPU信息:
lsdev -C|grep proc //查看cpu信息,可以查看CPU个数
[P55A#/]lsdev -C|grep proc
proc0 Available 00-00 Processor
4.bootinfo -r //查看内存信息
[P55A#/]bootinfo -r
12124160 //以KB为单位
prtconf -m //查看内存信息,系统总配置内存
[P55A#/]prtconf -m
Memory Size: 11840 MB
lsdev -Cc memory //查看物理内存配置情况
[P55A#/]lsdev -Cc memory
L2cache0 Available L2 Cache
mem0 Available Memory
lsattr -El mem0 //查看内存信息,可以查看到总安装内存以及可使用内存
[P55A#/]lsattr -El mem0
ent_mem_cap I/O memory entitlement in Kbytes False
goodsize 11840 Amount of usable physical memory in Mbytes False
mem_exp_factor Memory expansion factor False
size 11840 Total amount of physical memory in Mbytes False
var_mem_weight Variable memory capacity weight False
5.topas //查看cup、内存使用率
//内存百分比=(%comp+%Noncomp)
6.prtconf //显示系统所有配置信息,系统型号、序列号、处理器数量、内存大小、文件系统信息、分页空间大小、设备信息。
[P55A#/]prtconf -m
Memory Size: 11840 MB
[P55A#/]prtconf
System Model: IBM,9133-55A
Machine Serial Number: 064E69H
Processor Type: PowerPC_POWER5
Processor Implementation Mode: POWER 5
Processor Version: PV_5_2
Number Of Processors: 1
Processor Clock Speed: 1648 MHz
CPU Type: 64-bit
Kernel Type: 64-bit
LPAR Info: 1 AIX6
Memory Size: 11840 MB
Good Memory Size: 11840 MB
Platform Firmware level: SF240_320
Firmware Version: IBM,SF240_320
Console Login: enable
Auto Restart: true
Full Core: false
Network Information
Host Name: P55A
IP Address: 192.168.10.100
Sub Netmask: 255.255.255.0
Gateway: 192.168.10.254
Name Server:
Domain Name:
Paging Space Information
Total Paging Space: 512MB
Percent Used: 2%
Volume Groups Information
==============================================================================
Active VGs
==============================================================================
rootvg:
PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION
hdisk1 active 546 177 68..00..00..00..109
hdisk0 active 546 262 109..00..00..44..109
==============================================================================
7.lsdev //用于显示系统中的设备信息和设备特性,-C 从用户定义的库中显示设备信息,-c Class 指定设备类名。
lsdev -Cc disk //查看可用硬盘
[P55A#/]lsdev -Cc disk
hdisk0 Available 03-08-01-3,0 16 Bit LVD SCSI Disk Drive
hdisk1 Available 03-08-01-5,0 16 Bit LVD SCSI Disk Drive
lsdev -Cc tape //查看磁带机的状态是否可用
[P55A#/]lsdev -Cc tape
rmt0 Available 03-08-00-0,0 LVD SCSI 4mm Tape Drive
lsdev -Cc adapter //查看可用的PCI卡
[P55A#/]lsdev -Cc adapter
ent0 Available 00-08 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
ent1 Available 00-09 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
ent2 Available 07-08 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
ent3 Available 07-09 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
fcs0 Available 05-08 FC Adapter
ide0 Available 04-08 ATA/IDE Controller Device
sisscsia0 Available 03-08 PCI-X Dual Channel Ultra320 SCSI Adapter
usbhc0 Available 08-08 USB Host Controller (33103500)
usbhc1 Available 08-09 USB Host Controller (33103500)
usbhc2 Available 08-0a USB Enhanced Host Controller (3310e000)
vsa0 Available LPAR Virtual Serial Adapter
lsdev -Cc processor //查看可用的cpu
[P55A#/]lsdev -Cc processor
proc0 Available 00-00 Processor
8.lscfg //显示系统的配置信息、诊断信息和重要产品数据(VPD)信息
-l Name 显示已命名设备的设备信息。
-p 显示特定于平台的设备信息。该标志仅仅适用于 AIX 4.2.1 或更新版本。
-v 显示定制 VPD 对象类中找到的 VPD。同样的,与 -p 标志一起使用时,可以显示 AIX 4.2.1 或更新版本上特定于平台的 VPD。
-s 单行显示从名称到位置的设备描述。
lscfg
INSTALLED RESOURCE LIST
The following resources are installed on the machine.
+/- = Added or deleted from Resource List.
* = Diagnostic support not available.
Model Architecture: chrp
Model Implementation: Multiple Processor, PCI bus
+ sys0 System Object
+ sysplanar0 System Planar
* vio0 Virtual I/O Bus
* vsa0 U9133.55A.064E69H-V1-C0 LPAR Virtual Serial Adapter
* vty0 U9133.55A.064E69H-V1-C0-L0 Asynchronous Terminal
* pci2 U787B.001.DNWFY3Z-P1 PCI Bus
* pci7 U787B.001.DNWFY3Z-P1 PCI Bus
+ ent2 U787B.001.DNWFY3Z-P1-T9 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
+ ent3 U787B.001.DNWFY3Z-P1-T10 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
* pci8 U787B.001.DNWFY3Z-P1 PCI Bus
+ usbhc0 U787B.001.DNWFY3Z-P1 USB Host Controller (33103500)
+ usbhc1 U787B.001.DNWFY3Z-P1 USB Host Controller (33103500)
+ usbhc2 U787B.001.DNWFY3Z-P1 USB Enhanced Host Controller (3310e000)
* pci9 U787B.001.DNWFY3Z-P1 PCI Bus
* pci10 U787B.001.DNWFY3Z-P1 PCI Bus
* pci1 U787B.001.DNWFY3Z-P1 PCI Bus
* pci3 U787B.001.DNWFY3Z-P1 PCI Bus
+ sisscsia0 U787B.001.DNWFY3Z-P1 PCI-X Dual Channel Ultra320 SCSI Adapter
+ scsi0 U787B.001.DNWFY3Z-P1-T14 PCI-X Dual Channel Ultra320 SCSI Adapter bus
+ rmt0 U787B.001.DNWFY3Z-P1-T14-L0-L0 LVD SCSI 4mm Tape Drive (36000 MB)
+ scsi1 U787B.001.DNWFY3Z-P1-T15 PCI-X Dual Channel Ultra320 SCSI Adapter bus
+ hdisk0 U787B.001.DNWFY3Z-P1-T15-L3-L0 16 Bit LVD SCSI Disk Drive (146800 MB)
+ hdisk1 U787B.001.DNWFY3Z-P1-T15-L5-L0 16 Bit LVD SCSI Disk Drive (146800 MB)
+ ses0 U787B.001.DNWFY3Z-P1-T15-L15-L0 SCSI Enclosure Services Device
* pci5 U787B.001.DNWFY3Z-P1 PCI Bus
+ fcs0 U787B.001.DNWFY3Z-P1-C4-T1 FC Adapter
* fcnet0 U787B.001.DNWFY3Z-P1-C4-T1 Fibre Channel Network Protocol Device
+ fscsi0 U787B.001.DNWFY3Z-P1-C4-T1 FC SCSI I/O Controller Protocol Device
* sfwcomm0 U787B.001.DNWFY3Z-P1-C4-T1-W0-L0 Fibre Channel Storage Framework Comm
* pci4 U787B.001.DNWFY3Z-P1 PCI Bus
* ide0 U787B.001.DNWFY3Z-P1-T16 ATA/IDE Controller Device
+ cd0 U787B.001.DNWFY3Z-P4-D2 IDE DVD-ROM Drive
* pci6 U787B.001.DNWFY3Z-P1 PCI Bus
* pci0 U787B.001.DNWFY3Z-P1 PCI Bus
+ ent0 U787B.001.DNWFY3Z-P1-C3-T1 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
+ ent1 U787B.001.DNWFY3Z-P1-C3-T2 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
+ L2cache0 L2 Cache
+ mem0 Memory
+ proc0 Processor
lscfg -vpl 设备名 //显示该设备的详细信息,在机器上面那个位置,SN号等。先执行lscfg列出设备名,然后执行加参数加设备名查看详细信息
9.lsattr //显示关于给定设备或设备类型的属性信息,使用lsattr是必须要带参数的。
-D,显示设备的默认值,从预定义设备数据库中读取一个具体类型设备的默认值
-E,显示一个具体设备的当前有效值,从用户定义设备数据库中读取具体设备的有效值,只能和-l name 参数同时使用。
-F,使用用户自定义格式显示
-R,显示某一具体属性的有效值范围
lsattr -El mem0 //显示内存大小,这个可以lsdev结合使用,利用lsdev列出设备名
[P55A#/]lsattr -El mem0 //列出该设备的当前属性值
ent_mem_cap I/O memory entitlement in Kbytes False
goodsize 11840 Amount of usable physical memory in Mbytes False
mem_exp_factor Memory expansion factor False
size 11840 Total amount of physical memory in Mbytes False
var_mem_weight Variable memory capacity weight False
lsattr -Dl 设备名 //列出某样设备的默认属性
lsattr -Dl rmt0 //列出磁带机的默认属性 lsattr -Dl name | lsattr -El name 这两个可以作比较一个为默认属性值,一个列出当前使用属性值
[P55A#/]lsattr -Dl rmt0
block_size BLOCK size (0=variable length) True
compress yes Use data COMPRESSION True
density_set_1 DENSITY setting #1 True
density_set_2 DENSITY setting #2 True
extfm yes Use EXTENDED file marks True
mode yes Use DEVICE BUFFERS during writes True
ret yes RETENSION on tape change or reset True
ret_error no RETURN error on tape change or reset True
size_in_mb 0 Size in Megabytes False
来源:CSDN
作者:Crazy-7
链接:https://blog.csdn.net/qq_39312123/article/details/103472596