内に含まその他のドキュメントサポート リソース | PDF 文書ファイルをダウンロードする (191 KB)
Chapter 3 Managing System PowerThis chapter explains how to use the dtpower program to activate or turn off system power management features, and to specify when you want the desktop system to shut down automatically to reduce energy use. This tool can be used within the OpenWindows and Common Desktop Environment (CDE) desktops. This chapter also describes how to use Suspend-Resume features to selectively shut down your system and start it up again in the same working state. There are a few differences in how dtpower operates on sun4m-architecture desktop machines (such as the SPARCstation 20) and on sun4u-architecture desktop machines (such as the Sun Ultra 1). In this chapter, any such differences are pointed out. Note - 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. Choosing to Use Power ManagementPowering off a desktop system may interfere with some operations that involve that machine. Take into account the following guidelines before deciding when to use Power Management features on a desktop machine. Electronic Mail IssuesMail is not sent to any mail spool file on a machine while the machine is suspended. Typically, if mail cannot be delivered for more than three days, it is returned to the sender as undeliverable. If you suspend your system for three days or longer, and your machine has a local mail spool, you may fail to receive items of mail that have been bounced back to the sender. Mail Alias IssuesMail aliases on a machine are not available to other users while that machine is suspended. If the machine is suspended long enough (typically three days), messages sent to an alias on that machine are bounced back to the sender. Remote Login IssuesYou cannot use rlogin (1) to connect to a machine while that machine is suspended. This command does not cause the machine to resume from a suspended state. While your machine is suspended, you cannot access it by remote dial in. Networked Software IssuesSuspend-Resume may have an impact on a networked application. A networked program may fail if it is not resilient in cases where a peer system does not respond to network traffic due to being suspended. One example of this is when you run an Xhosted application from one system and display it on another system. If Power Management software suspends the latter system, the application software may fail. Solstice AutoClient IssuesDo not use Suspend-Resume features on a machine that uses SolsticeTM AutoClientTM software. ATM IssuesPower Management software is not supported on SunATMTM devices. The ATM protocol is connection oriented, which means calls must be established between two endpoints (such as workstations) before data can be transferred. Each end of the call must maintain the connection actively, so neither end of an ATM connection can use Power Management software to suspend and then resume the connection later. Cron Job IssuesOperations specified in a cron file do not run while a machine is suspended. When the time arrives for a cron job to begin for a machine that is suspended, that job does not run at that time, nor is the job queued up to run later when that machine resumes. Calendar Manager IssuesCalendar Manager does not display pop-up windows for scheduled events that occur while the desktop machine is suspended. Thermal Stress IssuesThe goal of Power Management is to conserve electricity. However, you should also take into account how an increase in power cycling will affect the overall reliability of the hardware. Power Management software is active by default on sun4u systems (such as the Sun UltraTM 1). Accordingly, the Power Management system for those machines is designed to evaluate each automatic power-cycle request that occurs due to the system being idle. If this evaluation determines that the thermal shock of power cycling on this occasion would contribute to decreasing hardware reliability, then this power-cycle request is deferred. Despite this feature, you can still choose to turn off a sun4u system manually at any time. This checking feature is intended as a brake on the hardware being subjected to an excessive number of automatic power-cycle requests. Starting the Power Manager Program: dtpowerYou can use the Power Management program, dtpower, to do the following tasks for your system:
If dtpower is already running, it may appear on your desktop as this icon: Figure 3-1 dtpower IconIf you need to start it, or need to start it again as superuser to make changes, perform one of the following procedures. To Start dtpower From the Command Line
To Start dtpower From a CDE or OpenWindows MenuSelect Power Manager under the Programs option in the Workspace menu. If you are using CDE, you also can start up dtpower the following way: Click the Power Manager icon in the Application manager - System-Admin folder. For more information on the Workspace menu, refer to the Solaris Common Desktop Environment: User's Guide or the Solaris User's Guide. Remember that you cannot modify settings in the Power Manager window unless you were superuser for the system when you started dtpower. Using the dtpower ProgramThe dtpower WindowWhen you start up dtpower (or double-click the dtpower icon), a window is displayed, as shown in Figure 3-2. Figure 3-2 The dtpower Window
Note - The "wake up" option only appears in this window for sun4u desktop systems. In this window, you can see the current settings for Power Management features on your system. If you started this program as superuser, you also can change the settings, as described in the procedures in this chapter. Note - If you are not superuser, the dtpower window will include this message: "Start dtpower as root to change settings." General dtpower Window ControlsThe buttons at the bottom of this window have the following effects:
You can reduce this dtpower window to an icon using your desktop environment's window commands. System AutoShutdown and AutoWakeup ControlsYou can specify, through the dtpower window, the timing conditions that will cause your system to shut down automatically after being idle. This feature is called AutoShutdown. If you have a sun4u desktop machine, you also can set your system to power on automatically at a specified time each day. This feature is called AutoWakeup. Note - Be sure to read "Choosing to Use Power Management" before changing the AutoShutdown settings. AutoShutdown uses the Suspend feature to automatically power off your system. When the system powers up again, it resumes in the same state as when it was suspended. Through the dtpower window, you can activate or deactivate the AutoShutdown and AutoWakeup features, and specify the following time values:
Note - AutoWakeup does not occur after you Suspend a system manually; it can occur only after AutoShutdown. To Set an Idle Time for AutoShutdown
To Enable or Disable AutoWakeupNote - AutoWakeup is available only on sun4u desktop systems.
To Exit dtpower
Using Suspend-Resume Features ManuallyThe Power Management software includes a timesaving feature, called Suspend-Resume. This feature is used automatically through the AutoShutdown and AutoWakeup features of the dtpower program. You also can Suspend and Resume your system whenever you choose by following the procedures in "Suspending Your System" and "Resuming Your System". The traditional process of powering off your system can be time consuming. Similarly, the process of rebooting and setting up your workspace also can take some time. With the Suspend-Resume feature, you can power off your system and quickly save all your current work-in-process automatically. Then, at the next power on, your workspace quickly returns to the way it was when you last used the system. You can leave your system suspended and powered off for an indefinite length of time without losing data. However, there are some outside operations (such as receiving mail) that may be affected while your system is suspended. Before you use the Suspend-Resume features, be sure to read "Choosing to Use Power Management". Note - The Suspend-Resume feature is not supported on systems configured as diskless clients. Suspending a system can occur automatically through the AutoShutdown feature in the Power Management software. Also, you can suspend your system manually using the keyboard by following instructions in the next section. Suspend allows you to do the following without losingyour system's current state:
Note - Do not use the Suspend feature if you need to reconfigure your system. You must halt the operating system whenever you want to reconfigure your system. Before you suspend a system, you must wait for operations such as the following to finish: Suspending Your SystemInitiating a Suspend and a subsequent Resume usually requires less than a minute. You can initiate Suspend in several ways:
To Initiate Suspend Using the Keyboard
To Initiate Suspend Immediately Using a Keyboard Shortcut
To Initiate Suspend Using the CDE Desktop
To Initiate Suspend Using the OpenWindows Desktop
To Initiate Suspend Using the sys-suspend CommandNote - You do not need to be running a window system, such as the OpenWindows environment, for the sys-suspend shell command to work. You also do not need to login as superuser.
Resuming Your SystemYou can use the following method to manually Resume using a system that had been put into a suspended state by any method. To Resume Using a Suspended System
|
|||