전원 관리 사용법

장치 유휴 상태의 시간 설정

시스템 장치(예: 화면)가 최소 전력 소모 모드로 들어가는 데 필요한 유휴 상태의 시간 길이를 지정할 수 있습니다. 유휴 상태의 시간 길이를 지정하려면 /etc/power.conf 파일의 임계 필드를 변경하십시오.

유휴 상태의 시간 길이 변경 방법
  1. 수퍼유저로서 /etc/power.conf 파일을 편집하십시오. 다음을 입력하십시오.

    example# vi /etc/power.conf

  2. 원하는 항목을 수정하십시오.

    키보드 및 마우스 장치의 유휴 상태의 임계값은 /etc/power.conf 파일에서 다음에 표시된 것처럼 300초(5분)로 변경되었습니다.


    # 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         300
    /dev/mouse       300
    
    # 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          9:00 9:00           default
    
    statefile        /.CPR

  3. 다음을 입력해서 전원 관리 구조에 새 설정값을 통지하십시오.

    example# /usr/sbin/pmconfig

    pmconfig을 실행하면 /etc/power.conf 파일에 정의된 임계값에 따라 전원 관리 구조에 새 설정값이 통지됩니다.