000-221 · Question #26
Which level of information does the mpstat command provide when run inside an LPAR?
The correct answer is C. Performance statistics for all logical processors inside the LPAR. When mpstat is run inside an AIX LPAR, it reports utilization and activity statistics for each logical processor (virtual CPU) assigned to that LPAR.
Question
Which level of information does the mpstat command provide when run inside an LPAR?
Options
- AThe simultaneous multi-threading LPAR profile setting.
- BOverall managed system logical processors utilization.
- CPerformance statistics for all logical processors inside the LPAR.
- DNumber of online physical processors in the pool where the LPAR resides.
How the community answered
(41 responses)- A5% (2)
- B15% (6)
- C73% (30)
- D7% (3)
Why each option
When mpstat is run inside an AIX LPAR, it reports utilization and activity statistics for each logical processor (virtual CPU) assigned to that LPAR.
Simultaneous multi-threading (SMT) profile settings are a firmware/LPAR configuration attribute viewable from the HMC or via smtctl, not reported as utilization statistics by mpstat.
Overall managed system logical processor utilization spans all LPARs and is visible only from the HMC or tools like topas -C at the CEC level, not from mpstat running inside a single LPAR.
The mpstat command in AIX displays per-processor statistics including user, system, wait, and idle percentages for each logical processor visible to the operating system instance. Inside an LPAR, the OS only sees the virtual CPUs (logical processors) allocated to it by the hypervisor, so mpstat reflects activity at that LPAR boundary. It cannot report on physical processors or resources outside the LPAR's scope.
The number of online physical processors in the shared processor pool is hypervisor-level information accessible from the HMC and is not exposed to mpstat running within a guest LPAR.
Concept tested: AIX mpstat logical processor statistics within LPAR
Source: https://www.ibm.com/docs/en/aix/7.2?topic=m-mpstat-command
Topics
Community Discussion
No community discussion yet for this question.