How to Determine the Amount of Memory Used By the System Firmware From the IBM i Command Line
Web Doc
Note: This is publication is now archived. For reference only.
This document describes and contains a program that can be used to determine the amount of memory that is currently allocated (reserved) to the System Firmware (Hypervisor), straight from the IBM i command line. The program name is DSPFMWMEM.
Written by: Matias Centeno Lozada
IBM® AS/400®, iSeries™, System i™, and Power Systems™ SW Support Specialist
MTS - IBM Argentina Support Center
On a Hardware Management Console (HMC) managed system or VIOS-managed system you can use the following command-line interface (CLI) commands to determine the amount of memory that is currently allocated (reserved) to the System Firmware (Hypervisor). (Note that all the values used in this document are expressed in megabytes.)
HMC
hscpe:/home/hscpe:> lshwres -r mem -m 8233-E8B*10086EP --level sys -F sys_firmware_mem --header
sys_firmware_mem
6880
VIOS
padmin:/home/padmin:> lshwres -r mem -m 7998-61X*061632A --level sys -F sys_firmware_mem --header
sys_firmware_mem
1280
On a VPM-managed system there is no command to determine the amount of memory that is currently allocated (reserved) to the System Firmware (Hypervisor). Something that could work is to do some math using SST and subtracting the result from the total amount of memory installed returned by DSPHDWRSC TYPE(*PRC).
VPM
Follow these steps:
1. Run the DSPHDWRSC TYPE(*PRC) command . You will get the Display Processor Resources panel (Figure 1).
Display Processor Resources System: XXXXXXXX Type options, press Enter. 7=Display resource detail Opt Resource Type-model Status Text _ CEC01 9409-E8A Operational Main Card Enclosure _ PN01 296C Operational System Control Panel _ MP01 53E1 Operational System Processor Card _ MP02 53E1 Operational System Processor Card _ MP03 53E1 Operational System Processor Card _ MP04 53E1 Operational System Processor Card _ PV01 52AE Operational Processor Capacity Card _ SP01 28A3 Operational Service Processor Card _ BCC01 Operational Bus Adapter _ BCC02 28A3 Operational Bus Adapter _ BCC03 28A3 Operational Bus Adapter _ BCC04 28A3 Operational Bus Adapter _ BCC05 28A3 Operational Bus Adapter _ BCC06 28A3 Operational Bus Adapter _ BCC07 28A3 Operational Bus Adapter More... F3=Exit F5=Refresh F6=Print F12=Cancel |
Display Processor Resources System: XXXXXXXX Type options, press Enter. 7=Display resource detail Opt Resource Type-model Status Text _ BCC08 28A3 Operational Bus Adapter _ BCC09 28A3 Operational Bus Adapter _ MS01 31AA Operational 1024MB Main Storage Car _ MS02 31AA Operational 1024MB Main Storage Car _ MS03 31AA Operational 1024MB Main Storage Car _ MS04 31AA Operational 1024MB Main Storage Car _ MS05 31AA Operational 1024MB Main Storage Car _ MS06 31AA Operational 1024MB Main Storage Car _ MS07 31AA Operational 1024MB Main Storage Car _ MS08 31AA Operational 1024MB Main Storage Car _ BC01 28A3 Operational HSL I/O Bridge _ BC02 28A3 Operational HSL I/O Bridge Bottom F3=Exit F5=Refresh F6=Print F12=Cancel |
Work with System Partitions System: XXXXXXXX Attention: Incorrect use of this utility can cause damage to data in this system. See service documentation. Number of partitions . . . . . . . : 4 Partition release . . . . . . . . . : V7R1M0 Partition identifier . . . . . . . : 1 Partition name . . . . . . . . . . : ZD8AP1 * Select one of the following: 2. Work with partition status 3. Work with partition configuration 4. Clear configuration data 5. Create a new partition Selection _ F3=Exit F12=Cancel |
Work with Partition Configuration System: XXXXXXX Available processor units . . . . : 2.70 Available memory (MB) . . . . . . : 672 Memory region size (MB) . . . . . : 32 Type option, press Enter. 1=Display 2=Change 9=Delete Virtual Partition ---------Processor---------- Memory Ethernet ID Opt ID Name Total Units Uncap Weight (MB) WLM 1 2 3 4 _ 1 ZD8AP1 1 1.00 1 Med 2048 2 1 2 2 2 _ 2 XPF71 1 0.10 1 Med 2048 2 3 2 2 2 _ 3 XPF61 1 0.10 1 Med 1536 2 3 2 2 2 _ 4 IBMIDEMO 1 0.10 1 Med 1024 2 3 2 2 2 F3=Exit F5=Refresh F11=Work with partition status F12=Cancel |
The material included in this document is in DRAFT form and is provided 'as is' without warranty of any kind. IBM is not responsible for the accuracy or completeness of the material, and may update the document at any time. The final, published document may not include any, or all, of the material included herein. Client assumes all risks associated with Client's use of this document.