Logical Domains 1.2 Administration Guide

CPU Mapping

The domain and the virtual CPU number within the domain, which correspond to a given physical CPU number, can be determined with the following procedures.

ProcedureDetermine the CPU Number

  1. Generate a long parseable list for all domains.


    primary# ldm list -l -p
    
  2. Look for the entry in the list's VCPU sections that has a pid field equal to the physical CPU number.

    • If you find such an entry, the CPU is in the domain the entry is listed under, and the virtual CPU number within the domain is given by the entry's vid field.

    • If you do not find such an entry, the CPU is not in any domain.