AIX--在AIX中如何查看memory的大小

下面提供三種方法查看memory的大小:

1. # bootinfo -r  --查看物理內存

2. # lsdev -Cc memory
   # lsattr -El mem0

3. # prtconf   --可以查看系统所有的信息 cpu 内存 硬盘等

實例:

2.從下面的信息可以看出此server的memory大小為4G
[erpdb]-/erp>lsdev -Cc memory
mem0     Available 00-00 Memory
L2cache0 Available 00-00 L2 Cache
[erpdb]-/erp>lsattr -El mem0
size     4096 Total amount of physical memory in Mbytes  False
goodsize 4096 Amount of usable physical memory in Mbytes False
[erpdb]-/erp>

3.
[erpdb]-/erp>prtconf
System Model: IBM,7026-M80
Processor Type:  PowerPC_RS64-III
Number Of Processors:        4
Memory Size: 4096MB
Good Memory Size: 4096MB
Firmware Version: IBM,M2P040106_condor_
Console Login: enable
Auto Restart: false
Full Core: false

Network Information
        Host Name: erpdb
        IP Address: 192.168.2.30
        Sub Netmask: 255.255.255.0
        Gateway: 192.168.2.254
        Name Server: 192.168.1.19
        Domain Name: vongates.com

Paging Space Information
        Total Paging Space: 8192MB
        Percent Used: 1%

Volume Groups Information
==========================================================================
rootvg:
PV_NAME           PV STATE    TOTAL PPs   FREE PPs    FREE DISTRIBUTION
hdisk0            active      542         0           00..00..00..00..00
hdisk1            active      542         94          00..00..00..00..94
==========================================================================

oradb_testvg:
PV_NAME           PV STATE    TOTAL PPs   FREE PPs    FREE DISTRIBUTION
hdisk2            active      813         0           00..00..00..00..00
hdisk3            active      813         3           00..00..00..00..03
==========================================================================

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              00-00             System Object
+ sysplanar0        00-00             System Planar
+ mem0              00-00             Memory
+ proc0             00-00             Processor
+ L2cache0          00-00             L2 Cache
* pmc0              00-00             Power Management Controller
+ proc1             00-01             Processor
+ proc2             00-02             Processor
+ proc3             00-03             Processor
* pci2              00-fff7f08000     PCI Bus
+ ent1              40-58             IBM 10/100 Mbps Ethernet PCI Adapter
                                      (23100020)
+ scsi0             40-60             Wide/Ultra-2 SCSI I/O Controller
+ rmt0              40-60-00-0,0      SCSI 4mm Tape Drive (20480 MB)
+ cd0               40-60-00-1,0      16 Bit SCSI Multimedia CD-ROM Drive
                                      (650 MB)
+ hdisk0            40-60-00-4,0      16 Bit LVD SCSI Disk Drive (18200
                                      MB)
+ hdisk1            40-60-00-8,0      16 Bit LVD SCSI Disk Drive (18200
                                      MB)
+ scsi1             40-61             Wide/Ultra-2 SCSI I/O Controller
* pci0              00-fff7f09000     PCI Bus
* isa0              10-80             ISA Bus
+ fda0              01-D1             Standard I/O Diskette Adapter
+ fd0               01-D1-00-00       Diskette Drive
* siokma0           01-K1             Keyboard/Mouse Adapter
+ sioka0            01-K1-00          Keyboard Adapter
+ kbd0              01-K1-00-00       PS/2 keyboard
+ sioma0            01-K1-01          Mouse Adapter
+ mouse0            01-K1-01-00       3 button mouse
+ ppa0              01-R1             CHRP IEEE1284 (ECP) Parallel Port
                                      Adapter
+ lp0               01-R1-00-00       Other parallel printer
+ sa0               01-S1             Standard I/O Serial Port
+ tty0              01-S1-00-00       Asynchronous Terminal
+ sa1               01-S2             Standard I/O Serial Port
+ tty1              01-S2-00-00       Asynchronous Terminal
+ sa2               01-S3             Standard I/O Serial Port
+ tty2              01-S3-00-00       Asynchronous Terminal
+ sa3               01-S4             Standard I/O Serial Port
+ tty3              01-S4-00-00       Asynchronous Terminal
* pci3              10-58             PCI Bus
+ ent0              11-08             10/100 Mbps Ethernet PCI Adapter II
                                      (1410ff01)
* pci4              10-5a             PCI Bus
* pci5              10-5c             PCI Bus
* pci6              10-5e             PCI Bus
* pci1              00-fff7f0a000     PCI Bus
* pci7              20-58             PCI Bus
* pci8              20-5a             PCI Bus
+ mg20              24-08             GXT130P Graphics Adapter
* pci9              20-5b             PCI Bus
* pci10             20-5c             PCI Bus
* pci11             20-5e             PCI Bus
+ scraid0           2D-08             PCI 4-Channel Ultra3 SCSI RAID
                                      Adapter
* hdisk2            2D-08-00-0,0      SCSI Disk Array RAID 5
* hdisk3            2D-08-00-1,0      SCSI Disk Array RAID 5
* pci12             20-60             PCI Bus
* pci13             20-62             PCI Bus
* pci14             20-63             PCI Bus
* pci15             20-64             PCI Bus
* pci16             20-66             PCI Bus
[erpdb]-/erp>

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29987/viewspace-51742/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/29987/viewspace-51742/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值