Contained Within
Find More Documentation
Featured Support Resources
| Descargar este libro en PDF
Using Power Management
2
- This chapter explains how to use the dtpower program to activate or turn off power management features, and to specify when you want the screen or the desktop system to shut down automatically to reduce energy use.
-
Note - If you are using a SPARCstation Voyager, dtpower will provide additional menu selections for controlling that machine's batteries and hard disks. Refer to Chapter 3, "Using Power Management on SPARCstation Voyager Systems" rather than this chapter.
- There are a few differences in how dtpower operates on sun4m desktop machines (such as the SPARCstation 20) and on sun4u desktop machines (such as the Sun Ultra 1). In this chapter, any such differences will be pointed out.
-
Caution - Power Management software cannot be used on systems with ZX (leo) frame buffers. Attempting to suspend such a device will panic the system.
- A command line interface is also provided for a system administrator to change a desktop machine's system default settings and to change the idleness definition. For information on using the pmconfig program and the power.conf file, go to Appendix A, "Configuring Power Management Using the Command Line."
- To start using dtpower, go to the next section ("Starting dtpower") in this chapter.
Starting dtpower
- Start dtpower by using one of the following methods.
· To start dtpower from the Command Line
-
-
Become superuser by typing:
-
example% su
Password: root_password
|
- You must become superuser before you can modify any settings in the Power Management software.
-
-
Start dtpower by typing:
-
example% /usr/openwin/bin/dtpower &
|
· To start dtpower from the OpenWindows Menus
-
* Select Power Manager from the Workspace menu under the Programs option if you are using the default OpenWindows menu.
- For more information on the Workspace menu, refer to the Solaris User's Guide.
>
The dtpower Icon
- If you have run the dtpower program earlier, its icon may be displayed on your desktop already, as shown in Figure 2-1.

Figure 2-1 dtpower
The dtpower Main Window
- When you start up dtpower (or double-click on the dtpower icon), the main window is displayed, as shown in Figure 2-2.

Figure 2-2 dtpower
-
Note - "AutoWakeup enable" only appears in this window for sun4u desktop systems.
- In this window you can see the current settings for Power Management features. You also can change the settings, as described in the procedures in this chapter.
- The buttons at the bottom of this window have the following effects:
-
-
Apply puts into effect all the settings currently displayed in the window.
-
Reset changes all the settings back to the state they were when Apply was previously selected (or to the your machine's default values if this is the first time dtpower has been run). Reset, however, will not return to earlier values if you have already selected Apply.
-
Quit dismisses the dtpower window; no icon remains on the screen. Any setting that were not put into effect with the Apply button will be lost.
-
Help displays a separate window of information about using the dtpower window.
- To reduce this main window to an icon, select Close from the window bar.
The Devices Panel
- You can use the Devices panel of the dtpower window to specify whether you want the screen to turn off after a specified number of minutes of idle time.
-
Note - You can edit the power.conf file to change the idleness definition in ways that cannot be done through the dtpower window. For information about this, see Appendix A, "Configuring Power Management Using the Command Line."
· To Set an Idle Time for Your Screen
-
-
Drag the Screen slider of the Devices panel (Figure 2-3) to set the length of idle time in minutes before your screen will automatically power off.
You can deactivate automatic control of power for your screen by dragging the Screen slider to the far right position, which is labeled "Never." Also, you can set the time by typing the number of minutes directly into the box to the right of the slider.
-
Click Apply at the bottom of the window.
- In Figure 2-3, the previous setting ("Never") has been changed to 30 minutes. Your screen will now automatically power off after 30 minutes of inactivity (such as no keystrokes or mouse activity).

Figure 2-3
- If you have not selected Apply yet, you can return to the previous settings by selecting Reset at the bottom of the window.
The System Panel
- On the System panel you can specify the conditions when your system will shut down automatically while idle. On sun4u desktop machines, you can also use this panel to set your system to power on automatically at a specified time each day (this feature is called AutoWakeup)
-
Note - Be sure you have read "Choosing to Use Power Management" on page 2 before changing the AutoShutdown settings.
- AutoShutdown uses the Suspend feature to automatically power off your system. When the system powers up again, it will resume in the same state as when it was suspended.
- Using the System panel of the dtpower window, you can activate or deactivate the AutoShutdown feature, and specify the following times:
-
- The number of minutes of idle time before AutoShutdown attempts to suspend the system
- The Start and Finish times of the period each day when AutoShutdown can occur (when the Start and Finish times are identical, AutoShutdown can occur at any time)
- The AutoWakeup time when the system will automatically power up and resume after being suspended by AutoShutdown (sun4u desktop systems only)
· To Set an Idle Time for AutoShutdown of the System
-
-
Start dtpower as superuser (see "Starting dtpower" on page 6).
-
Drag the Suspend slider to the number of minutes of idle time you want before the system will power down automatically.
If you want to completely deactivate the AutoShutdown feature, select the Never setting at the far right of the slider. Also, you can type the number of minutes directly in the numerical box to the right of the slider.
-
-
Select the Start time of the period each day when you want AutoShutdown of the system to be able to take place.
You can select the time (in 15-minute increments) through a menu that drops down from the button closest to the Start label. Also, you can type the Start time directly into the numerical box.
-
Click on AM or PM for the Start time.
-
Select the Finish time of the period each day when you want AutoShutdown of the system to be able to take place.
You can select the time (in 15-minute increments) through a menu that drops down from the button closest to the Finish label. The last setting on this menu is All Day, which means AutoShutdown can occur at any time of day. Also, you can type the Finish time directly into the numerical box. You can specify an "All Day" setting this way by entering a Finish time that is identical to the Start time.
-
Click on AM or PM for the Finish time.
-
Click the Apply button at the bottom of the screen when the settings you want are all displayed.
If you want to reject the displayed settings, select Reset and the currently active settings (that is, whatever settings were last put into effect by selecting Apply) will be displayed in the window.
- In Figure 2-4, the System panel is set for AutoShutdown of the system after 60 minutes of idle time between 7:30 pm and 9:00 am.

Figure 2-4
· To Enable or Disable AutoWakeup of the System
-
Note - AutoWakeup is available only on sun4u desktop systems.
-
-
Start dtpower as superuser (see "Starting dtpower" on page 6).
-
Set the Suspend time to the amount of idle time you desire (that is, any setting other than Never).
-
-
Set the Finish time to the time you want the machine to power up from a suspended state every day.
-
Click the AutoWakeup enable button to turn this feature on or off.
-
Click the Apply button at the bottom of the screen when the settings you want are all displayed.
If you want to reject the displayed settings, select Reset and the currently active settings (that is, whatever settings were last put into effect by selecting Apply) will be displayed in the window.
- In Figure 2-5, the System panel is set for AutoWakeup to occur at 9:00 am every day if an AutoShutdown has occurred after 7:30 pm.

Figure 2-5
Exiting dtpower
- Make sure you have clicked Apply if you want to activate any new settings you have made in this window.
· To exit dtpower
-
* Click Quit at the bottom of the dtpower window. This causes the window to disappear without the dtpower icon remaining on the screen.
|
|