Under Construction

lpar status

The command “lpar status” can be used to display the status of one, several or all LPARs:

   lpar [-h <hmc>] [-m <ms>] status [{-o <format>|-f|-j|-y}] [-F <fields>] [-r] [-s <selections>] [-v] [<lpar> ...]
   -r : refresh OS informations

By default, the command displays the following information:

$ lpar status aixnim2
         LPAR                                                    PROC     
NAME     ID    LPAR_ENV  STATE    PROFILE   SYNC  RMC     PROCS  UNITS  MEM     OS_VERSION
aixnim2  12    aixlinux  Running  standard  1     active  2      0.3      6 GB  AIX 7.2 7200-05-07-2346
$
    • Name and ID of the LPAR
    • type of LPAR (aixlinux, vioserver, os400)
    • state of the LPAR
    • The profile used
    • State of the RMC connection to the HMC
    • main memory size
    • number of processors and processing units
    • Installed operating system with version

Since the HMC buffers information, it can happen that the information displayed is not up to date. However, the “-r” option can be used to force the information to be refreshed.

In addition to the information displayed by default, more than 80 additional values ​​are collected for each LPAR. You can get an overview of what these are in detail by using the “-f” option:

$ lpar status -f aixnim2
aixnim2:
      affinity_group_id = none
      allow_perf_collection = 0
      auto_start = 0
      boot_mode = norm
      curr_hardware_mem_encryption = 1
      curr_hardware_mem_expansion = 1
      curr_hpt_ratio = 1:64
     curr_lpar_proc_compat_mode = POWER9
      curr_max_mem = 8192
      curr_max_num_huge_pages = 0
      curr_max_proc_units = 1.0
      curr_max_procs = 2

$

Any number of LPARs can be specified. If no LPAR is specified, all LPARs are always listed.