Monday, August 11, 2014

Find CPU and Memory info in AIX Machine

Below commands to find memory information in AIX machines:

lparstat -i | grep Memory
lsconf | grep Memory

lparstat:

 The lparstat command provides a report of LPAR (Reports logical partition) related information and utilization statistics.

Sample outputs:

bash-3.2$ lparstat -i | grep Memory
Online Memory                              : 65536 MB
Maximum Memory                             : 98304 MB
Minimum Memory                             : 36864 MB
Memory Mode                                : Dedicated
Total I/O Memory Entitlement               : -
Variable Memory Capacity Weight            : -
Memory Pool ID                             : -
Physical Memory in the Pool                : -
Unallocated Variable Memory Capacity Weight: -
Unallocated I/O Memory entitlement         : -
Memory Group ID of LPAR                    : -
Desired Memory                             : 65536 MB
Target Memory Expansion Factor             : -
Target Memory Expansion Size               : -
bash-3.2$

bash-3.2$ lsconf | grep Memory
Memory Size: 65536 MB
Good Memory Size: 65536 MB
+ mem0                                                                          Memory
bash-3.2$

Below commands to find CPU information in AIX machines:

lsconf | grep Processor
lscfg -vp | grep proc

Sample outputs:

bash-3.2$ lsconf | grep Processor
Processor Type: PowerPC_POWER7
Processor Implementation Mode: POWER 7
Processor Version: PV_7_Compat
Number Of Processors: 6
Processor Clock Speed: 3550 MHz
  Model Implementation: Multiple Processor, PCI bus
+ proc0                                                                         Processor
+ proc4                                                                         Processor
+ proc8                                                                         Processor
+ proc12                                                                        Processor
+ proc16                                                                        Processor
+ proc20                                                                        Processor
bash-3.2$
bash-3.2$ lscfg -vp | grep proc
  proc0                                                                         Processor
  proc4                                                                         Processor
  proc8                                                                         Processor
  proc12                                                                        Processor
  proc16                                                                        Processor
  proc20                                                                        Processor
bash-3.2$

Hope this will help you... :)

Best Regards,

1 comment:

  1. The guide on finding CPU and memory information in an AIX machine is incredibly useful. It offers clear instructions and commands to access crucial system data. Guard Your Business This resource aids AIX administrators in monitoring it.

    ReplyDelete

Some Most Popular Articles