Solaris Reference Manual for SMCC-Specific Software
只搜尋這本書
以 PDF 格式下載這本書

NAME

dtpower - desk-top power manager, system and device power management tool

SYNOPSIS

dtpower [ generic-tool-arguments ] [ -sampleTime n | -st n ]
[ -warnTime1 n | -wt1 n ] [ -warnTime2 n | -wt2 n ]
[ -nobell ]

AVAILABILITY

SUNWpmow

DESCRIPTION

dtpower provides a graphical user interface (GUI) to the power management system (see pm (7)). It allows the user to configure certain power manageable devices to shutdown after a specified period of inactivity. Different hardware platforms support different devices. Most platforms allow power management of display(s). Some platforms allow power management of disk drives. The set of power configurations for all devices is called a power profile.
dtpower also displays the current autoshutdown settings (see powerd (1M)). If dtpower is run as root, these settings may be changed. These settings are not included in a power profile.
If a battery is present, dtpower monitors the battery level. If the system is running from the battery, dtpower displays low power warnings when the battery charge is running low. dtpower maintains two device power profiles - one for use on AC and one for use with the battery. This enables you to customize your device power settings, depending on your power source. dtpower switches profiles automatically when the machine's power supply changes. There may be a small delay (about 30 seconds) before dtpower notices a change in power source.
You must be console owner or root to run dtpower.

OPTIONS

generic-tool-arguments
        dtpower accepts the generic tool arguments described in xview(7).

-sampleTime n
-st n
dtpower continually checks the battery capacity, if a battery is present. This option sets the period of this check. The default is 10 seconds.
-warnTime1 n
-wt1
-warnTime2 n
-wt2

dtpower displays two warnings of low battery power. These options set the time before battery exhaustion at which the warnings will occur. The default warning times are at 10 and 5 minutes. Note that powerd (1M)will shut the system down when the battery is exhausted.
-nobell
By default, whenever dtpower displays a warning dialog, it sounds a bell. This option disables the bell.

USAGE

dtpower operates via a set of pull-down menus, slider(s) and buttons in a control panel. From the control panel you may access one other panel, the autoshutdown panel.
The Control Panel
        Menu Bar

File
Exit
Exits the application. If you have pending changes, you
will prompted to apply or discard them before exiting.
        Help

Help
Displays an overview of the dtpower application.
Information
With Battery
The charge level of the battery is displayed. If the battery is the connected power source, then the estimated battery life is
displayed below the charge gauge.
You can select which device power profile to edit using the toggle buttons above the slider(s). Note that the active profile is
determined by your power source, not the toggle buttons.
Without battery
The power profile displayed is for an AC power supply. There is no access to the battery power profile.
Slider(s)
Screen This slider shows the amount of time the keyboard and mouse
will be unused before the screen turns off. To change this time, move the slider and select apply. To turn the screen on, move the mouse or press a key.
Disk
This slider shows the amount of time the disk will be idle before spinning down. This is not available on all platforms. The disk will automatically spin up the next time it is needed.
Buttons
Apply This applies any changes to your active power profile and saves
all settings into $HOME/.pmrc so they are remembered the next time the application is started.
Reset to Standard
This resets the active power profile to its default values and
saves these into $HOME/.pmrc.
Set Autoshutdown...
This brings up the autoshutdown panel.
The Autoshutdown Panel
As root
This panel allows you to view and edit the parameters governing
autoshutdown. The first box adjusts the amount of time the console keyboard and mouse must be unused before the system will auto-shutdown.
The toggle buttons beneath determine the times when auto-shutdown is in effect at all.
OK
This applies any changes made and saves them to power.conf(4) as the default settings.
Cancel Dismisses the window and discards any changes
Help
Displays a brief overview text.
As a regular user
This panel allows you to view the current settings. Changes are not permitted.
OK
Disabled
Cancel Dismisses window
Help
Displays a brief overview text.

FILES

$HOME/.pmrc
Per user customized power profile
/etc/power.conf
System-wide power configuration profile
/usr/openwin/lib/app-defaults/Dtpower
Text messages file

SEE ALSO

cpr(7), pm (7),power.conf(4), pmconfig(1M), powerd (1M)