電源管理システム ユーザーマニュアル

アイドル状態の定義の変更

/etc/power.conf ファイルにエントリを追加して、デフォルトのアイドル状態の定義を変更することができます。エントリを追加することによって、システムを活動状態と定義する特定のシステム操作のしきい値を変更することができます。

ただし、キーボードとマウスの動作のしきい値を変更することはできません。これらの装置の動作は、どのような場合でもシステムのアイドル状態を終了させます。

たとえば、power.conf ファイルを修正して、以下の状態でシステムがアイドル状態と定義されるように、アイドル状態の定義を変更することができます。

これらの設定を行った /etc/power.conf ファイルは以下のようになります。


# Power Management Configuration File
#
# Putting an entry in this file will only be effective if the 
# driver for the device supports device power management. 
# After the file is modified, pmconfig(1M) command must be
# executed to activate the new change.
#
# Fields must be separated by white space or semicolons.
# Note that physical dependents are automatically considered
# by the power management framework.
# Name           Threshold(s)       Logical Dependent(s)
/dev/kbd         1800
/dev/mouse       1800
 
# NOTE: The entries below are only used when no window
# system is running. When running the window system, monitor
# power management is done by the screen saver functions.
 
/dev/fb          0 0         /dev/kbd     /dev/mouse
 
# Auto-Shutdown  Idle(min)  Start/finish(hh:mm)  Behavior
autoshutdown     30          15:00 8:00           default
 
statefile        /.CPR
 
ttychars            400
diskreads           10
nfsreqs             5
loadaverage         0.1