/etc/power.conf 파일에 항목을 추가하면 기본값으로부터 시스템의 유휴 상태의 정의를 변경할 수 있습니다. 이 항목은 비활성으로 간주되는 시스템에서 발생 가능한 일부 시스템 작동의 임계값을 변경합니다.
ttychars는 시스템이 활성으로 간주되기 전에 입력 또는 출력될 수 있는TTY 문자 수를 변경합니다(기본값은 문자가 아님).
diskreads는 시스템이 활성으로 간주되기 전에 발생할 수 있는 디스크 읽기 수를 변경합니다(기본값은 디스크 읽기가 아님).
nfsreqs는 시스템이 활성으로 간주되기 전에 발생할 수 있는 NFS 요청 수를 변경합니다(기본값은 NFS 요청이 아님).
loadaverage는 시스템이 활성으로 간주되기 전에 도달하는 1분 로드 평균을 변경합니다(기본값은 0.04임).
그러나 키보드 또는 마우스 활동의 임계값을 변경할 수는 없습니다. 이러한 장치가 있는 활동은 시스템의 유휴 상태 기간을 종료합니다.
예를 들어, power.conf 파일을 수정하여 다음의 경우에서 시스템의 유휴 상태의 정의가 계속 유휴 상태로 간주되도록 변경할 수 있습니다.
400 TTY 문자 이하 입력 또는 출력만 할 수 있음
10 디스크 이하 읽기만 발생함
5 NFS 이하 요청만 발생함
1분 로드 평균이 0.1을 초과하지 않음
결과 /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