LPAR directories and attributes
There are hypfs directories and attributes with hypervisor information for Linux® in LPAR mode.
Figure 1 illustrates the file system tree that is created for LPAR.
- update
- Write-only file to trigger an update of all attributes.
- cpus/
- Directory for all physical cores.
- cpus/<core ID>
- Directory for one physical core. <core_ ID> is the logical (decimal) core
number.
- type
- Type name of physical core, such as CP or IFL.
- mgmtime
- Physical-LPAR-management time in microseconds (LPAR overhead).
- hyp/
- Directory for hypervisor information.
- hyp/type
- Type of hypervisor (LPAR hypervisor).
- systems/
- Directory for all LPARs.
- systems/<lpar name>/
- Directory for one LPAR.
- systems/<lpar name>/cpus/<core_ID>/
- Directory for the virtual cores for one LPAR. The <core_ID> is the logical
(decimal) core number.
- type
- Type of the logical core, such as CP or IFL.
- mgmtime
- LPAR-management time. Accumulated number of microseconds during which a physical core was assigned to the logical core and the core time was consumed by the hypervisor and was not provided to the LPAR (LPAR overhead).
- cputime
- Accumulated number of microseconds during which a physical core was assigned to the logical core and the core time was consumed by the LPAR.
- onlinetime
- Accumulated number of microseconds during which the logical core has been online.
Note: For LPARs with multithreading enabled, the entities
in the cpus directories represent hardware cores, not threads.
Note: For older machines, the
onlinetime attribute might be missing. Generally, it is advantageous for
applications to tolerate missing attributes or new attributes that are added to the file system. To
check the content of the files, you can use tools such as cat or
less.