JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle® VM Server for SPARC 3.1 Reference Manual
Oracle Technology Network
Library
PDF
Print View
Feedback
search filter icon
search icon

Document Information

System Administration

ldm(1M)

ldmconfig(1M)

ldmd(1M)

ldmp2v(1M)

ldmpower(1M)

ldmpower (1M)

Name

ldmpower - show per-domain, power-consumption information

Synopsis

ldmpower [-ehiprstvx | -o hours | -m minutes] [-c resource] [-l ldom[,ldom[,...]]]
  [interval [count]]

Description

The ldmpower command shows the power-consumption data in watts for domains. By default, it shows the processor power that is consumed by each running domain. You can use options to view memory power consumption and the power consumption of the entire system divided among the running domains. The per-domain system power consumption is extrapolated from the per-domain processor and memory power consumption.

When specified with no options, the ldmpower command shows the average power consumption during the last 15, 30, and 60 seconds. The command can also show the most recent power-consumption data. For a longer history, the command can show up to 60 one-minute averages covering the last hour and 336 one-hour averages covering the last 14 days.

To run this command as a non-privileged user, you must be assigned the LDoms Power Mgmt Observability rights profile. If you already have been assigned the LDoms Management or LDoms Review rights profile, you automatically have permission to run the ldmpower command.

This command is not supported on Fujitsu M10 systems.

The ldmpower command uses the following options and operands:

–c resource

Shows per-domain power consumption for the specified resource type, resource. Valid values are processors and memory. The long version of this option is –-component.

–e

Shows the minimum and maximum power-consumption values since data recording began. The long version of this option is –-extremes.

–h

Shows descriptions of the ldmpower command options. The alternate short version of this option is –? and the long version of this option is –-help.

–i

Shows instantaneous power-consumption data. The long versions of this option are –-instant and –-instantaneous.

–l ldom

Shows power-consumption data for one or more specified domains. Domain names are separated by commas. The long version of this option is –-list.

Note that less data is shown for domains that have been booted for a shorter amount of time than the requested period.

–m minutes

Shows up to one hour of average power-consumption data in fixed one-minute intervals. The long version of this option is –-minutes.

Note that less data is shown if the Logical Domains daemon has been running for a shorter amount of time than the requested period.

–o hours

Shows up to 14 days of average power-consumption data in fixed one-hour intervals. The long version of this option is –-hours.

Note that less data is shown if the Logical Domains daemon has been running for a shorter amount of time than the requested period.

–p

Shows the overall power consumption for the entire system, which includes processors, memory, and fans. The long version of this option is –-platform.

–r

Shows the rolling average power-consumption history for the past 15, 30, and 60 seconds. The long version of this option is –-rolling.

–s

Suppresses the output header. The long version of this option is –-suppress.

–t

Shows time stamps in the output. The long version of this option is –-timestamps.

–v

Shows version data. The long version of this option is –-version.

–x

Shows extrapolated power-consumption averages. These averages reflect the percentage of overall system watts that are being consumed per domain. The per-domain system power consumption is extrapolated from the per-domain processor and memory power consumption. This option can be used with any of the –o, –i, –m, and –r options. The long version of this option is –-extrapolate.

interval

Reports output once each interval seconds.

count

Shows count reports. If you specify the count, you must first specify the interval.

Examples

Example 1 Viewing Processor Power-Consumption Data

The following command shows the 15-second, 30-second, and 60-second rolling average processor power-consumption data for all domains.

# ldmpower
Processor Power Consumption in Watts
DOMAIN  15_SEC_AVG  30_SEC_AVG  60_SEC_AVG
primary 75          84          86
gdom1   47          24          19
gdom2   10          24          26
Example 2 Viewing Power-Consumption Data for the Entire System Example 3 Viewing Memory and Processor Power-Consumption Data Example 4 Viewing Processor Power-Consumption Data for Specified Domains

The following command shows the instantaneous processor power-consumption data for the gdom2 and gdom5 domains. The –i option shows the instantaneous power-consumption data, and the –t option shows time stamps in the output. The –l option arguments specify that only information about the gdom2 and gdom5 domains appear in the output. The first operand, 10, indicates that power-consumption data is reported in 10-second intervals. The second operand, 5, is the number of iterations for which the data is output.

# ldmpower -itl gdom2, gdom5 10 5
Processor Power Consumption in Watts
DOMAIN          TIMESTAMP               INSTANT
gdom2           2013.05.17 11:14:45     13
gdom5           2013.05.17 11:14:45     24

gdom2           2013.05.17 11:14:55     18
gdom5           2013.05.17 11:14:55     26

gdom2           2013.05.17 11:15:05     9
gdom5           2013.05.17 11:15:05     16

gdom2           2013.05.17 11:15:15     15
gdom5           2013.05.17 11:15:15     19

gdom2           2013.05.17 11:15:25     12
gdom5           2013.05.17 11:15:25     18
Example 5 Viewing Power-Consumption Data for a Specified Amount of Time Example 6 Viewing Extrapolated Power-Consumption Data for All Domains

The following command shows extrapolated power-consumption data for all the domains: primary, gdom1, and gdom2.

# ldmpower -x
System Power Consumption in Watts
DOMAIN          15_SEC_AVG      30_SEC_AVG      60_SEC_AVG
primary         585/57.47%      701/68.96%      712/70.22%
gdom1           132/12.97%      94/9.31%        94/9.30%
gdom2           298/29.27%      218/21.47%      205/20.22%
Example 7 Viewing Power-Consumption Data for All Resources

The following command shows the system-wide rolling power averages for all resources: system, processors, memory, and fans.

By default, rolling power averages are shown, so this output matches the output of the ldmpower -rp command.

# ldmpower -p
Resource Power Consumption in Watts
TYPE            15_SEC_AVG      30_SEC_AVG      60_SEC_AVG
System          1016            1016            1016
Processors      270             270             269
Memory          179             179             179
Fans            202             202             203
Example 8 Viewing Instant Power-Consumption Data for All Resources

The following command shows the system-wide instant power averages for all resources: system, processors, memory, and fans.

# ldmpower -ip
Resource Power Consumption in Watts
TYPE            INSTANT
System          1012
Processors      270
Memory          179
Fans            203

Attributes

See the attributes(5) man page for a description of the following attribute.

Attribute Type
Attribute Value
Availability
SUNWldm

See Also

ldmd(1M), attributes(5)