分类: 系统运维
2012-08-06 13:18:05
In Oracle Solaris 11 release, power management configuration has moved into an SMF configuration repository. The new poweradm command is used to manage system power management properties directly rather than using a combination of power-related command, daemon, and configuration file. These changes are part of a wider set of changes to modernize the power management framework in Oracle Solaris 11.
The following power management features are no longer available:
/etc/power.conf
pmconfig and powerd
Device power management
Two new properties describe the power configuration that manage time components:
time-to-full-capacity – Defines the maximum time the system is allowed to reach its full capacity, from any lower-capacity or less-responsive state, while the system is active.
time-to-minimum-responsiveness – Defines how long the system is allowed to return to its active state.
You can display poweradm properties by using the following command:
# poweradm list active_control/administrative-authority smf=platform, current=platform suspend/suspend-enable smf=false, current=false active_config/time-to-full-capacity platform=250, current=250 active_config/time-to-minimum-responsiveness platform=0, current=0 disabled platform=falseIn the above output, the active_control/administrative-authority indicates the source of the configuration with two settings:
platform – Configuration for power management comes from the platform. This is the default value.
smf – Allows the other power management properties to be set using the poweradm command.
If you previously enabled S3-support in the /etc/power.conf file to suspend and resume your system, similar poweradm syntax is:
# poweradm set suspend-enable=trueThe suspend-enable property is set to false by default.
Use the following syntax to disable power management:
# poweradm set administrative-authority=noneDisabling the following SMF power management service does not disable power management:
online Sep_02 svc:/system/power:defaultFor more information, see .
How to Recover from Power Service in Maintenance ModeIf administrative-authority is set to smf before both time-to-full-capacity and time-to-minimum-responsiveness have been set, the service will go into maintenance mode.