000-221 · Question #83
An LPAR has been assigned additional memory and the administrator would like to confirm the new memory size. Which TWO commands will display LPAR total memory? (Select 2)
The correct answer is B. Isattr -EI sys0 -a realmem C. getconf REAL_MEMORY. On IBM AIX, 'lsattr -El sys0 -a realmem' and 'getconf REAL_MEMORY' both report the total physical memory allocated to the LPAR, making them the correct pair for confirming a memory change.
Question
An LPAR has been assigned additional memory and the administrator would like to confirm the new memory size. Which TWO commands will display LPAR total memory? (Select 2)
Options
- Amemstat
- BIsattr -EI sys0 -a realmem
- Cgetconf REAL_MEMORY
- DIscfg-vlmem0
- EIsmem
How the community answered
(42 responses)- A2% (1)
- B79% (33)
- D14% (6)
- E5% (2)
Why each option
On IBM AIX, 'lsattr -El sys0 -a realmem' and 'getconf REAL_MEMORY' both report the total physical memory allocated to the LPAR, making them the correct pair for confirming a memory change.
memstat is not a standard AIX command and is not available by default for displaying LPAR total memory.
The 'lsattr -El sys0 -a realmem' command queries the sys0 system device object and retrieves the 'realmem' attribute, which reflects the total real memory currently configured for the LPAR in kilobytes.
The 'getconf REAL_MEMORY' command uses the POSIX getconf utility to return the REAL_MEMORY system configuration variable, which also reports total physical memory available to the LPAR in kilobytes - both commands are standard AIX methods for verifying dynamically added memory.
lscfg -vl mem0 displays vital product data and hardware configuration details for the mem0 memory device but does not present total LPAR memory in a straightforward, confirmation-ready format.
lsmem is not a native AIX command - it is a Linux utility and is not available on AIX for querying LPAR memory configuration.
Concept tested: AIX commands to verify LPAR total memory allocation
Source: https://www.ibm.com/docs/en/aix/7.3?topic=l-lsattr-command
Topics
Community Discussion
No community discussion yet for this question.