Logical Domains 1.3 Administration Guide

Showing CPU Power-Managed Strands

This section shows how to list power-managed strands and virtual CPUs.

ProcedureList CPU Power-Managed Strands

  1. List power-managed strands by doing one of the following.

    1. Use the list -l subcommand.

      A dash (---) in the UTIL column of the CPU means the strand is power-managed.


      # ldm list -l primary
      NAME         STATE   FLAGS  CONS  VCPU MEMORY  UTIL  UPTIME
      primary      active  -n-cv  SP    8    4G      4.3%  7d 19h 43m
       
      SOFTSTATE
      Solaris running
       
      MAC
          00:14:4f:fa:ed:88
       
      HOSTID
          0x84faed88
       
      CONTROL
          failure-policy=ignore
       
      DEPENDENCY
          master=
       
      VCPU
          VID    PID    UTIL STRAND
          0      0      0.0%   100%
          1      1      ---    100%
          2      2      ---    100%
          3      3      ---    100%
          4      4      ---    100%
          5      5      ---    100%
          6      6      ---    100%
          7      7      ---    100%
      ....
    2. Use the parseable option (-p) to the list -l subcommand.

      A blank after util= means the strand is power-managed.


      # ldm list -l -p
       
      VCPU
      |vid=0|pid=0|util=0.7%|strand=100
      |vid=1|pid=1|util=|strand=100
      |vid=2|pid=2|util=|strand=100
      |vid=3|pid=3|util=|strand=100
      |vid=4|pid=4|util=0.7%|strand=100
      |vid=5|pid=5|util=|strand=100
      |vid=6|pid=6|util=|strand=100
      |vid=7|pid=7|util=|strand=100

ProcedureList Power-Managed CPUs

  1. List power-managed CPUs by doing one of the following.

    1. Use the list-devices -a cpu subcommand.

      In the power management (PM) column, a yes means the CPU is power-managed and a no means the CPU is powered on. It is assumed that 100 percent free CPUs are power-managed by default, hence the dash (---) under PM.


      # ldm list-devices -a cpu
      VCPU
         PID     %FREE      PM
         0       0          no
         1       0          yes
         2       0          yes
         3       0          yes
         4       100        ---
         5       100        ---
         6       100        ---
         7       100        ---
    2. Use the parseable option (-p) to the list-devices -a cpu subcommand.

      In the power management (pm=) field, a yes means the CPU is power-managed and a no means the CPU is powered on. It is assumed that 100 percent free CPUs are power-managed by default, hence the blank in that field.


      # ldm list-devices -a -p cpu
      VERSION 1.4
      VCPU
      |pid=0|free=0|pm=no
      |pid=1|free=0|pm=yes
      |pid=2|free=0|pm=yes
      |pid=3|free=0|pm=yes
      |pid=4|free=0|pm=no
      |pid=5|free=0|pm=yes
      |pid=6|free=0|pm=yes
      |pid=7|free=0|pm=yes
      |pid=8|free=100|pm=
      |pid=9|free=100|pm=
      |pid=10|free=100|pm=