GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
APMD(8) FreeBSD System Manager's Manual (i386) APMD(8)

apmd
Advanced Power Management ?ƻ??ǡ?????

apmd [-d] [-f -file] [-s] [-v]

apmd ?桼?ƥ????ƥ??ϡ????ꤷ?? Advanced Power Management (APM) ???٥??Ȥ??ƻ뤷?? ?????줫?Υ??٥??Ȥ?ȯ?????????硢 ?б????륳?ޥ??ɥ??????󥹤??¹Ԥ??ޤ??? ?????ե??????ǻ??ꤵ?줿???٥??ȤΤߤ? apmd ?????Τ??졢?????ʳ??Υ??٥??Ȥ?̵?뤵???ޤ??? APM BIOS ?ˤ??ä?ȯ?Ԥ??줿 ???٥??Ȥ??Ф??ơ? apmd ???????ե??????ǻ??ꤵ?줿???ޥ??ɥ??????󥹤??¹Ԥ??ޤ??? apmd ?򥵥??ڥ???/???????Х????ƻ뤹???褦?ˤ??Ƶ?ư?????ȡ? ?????ͥ??Ϥ????????׵ᥤ?٥??Ȥ??Ф??? ???????Ԥ??ޤ????? ???Τ??᤽?????Υ??٥???ȯ?????? ?????򤵤??????????ϡ?Ŭ?ڤʥ??ޥ??ɤޤ????Ȥ߹??ߴؿ??? ????Ū???????ե??????˻??ꤹ??ɬ?פ??????ޤ???

apmd ?桼?ƥ????ƥ??ϰʲ??μ¹Ի????ץ??????????򤷤ޤ???

?ǥХå??⡼?ɤǵ?ư???ޤ??? ?ǡ??????⡼?ɤǤϤʤ??ե??????饦???ɤ?ư??ޤ???
file
?ǥե????Ȥ??????ե????? /etc/apmd.conf ???????˻??Ѥ??롢?̤??????ե????? file ?????ꤷ?ޤ???
?Ÿ????֤??ѹ??????Ф??줿?? (AC_POWER_STATE) ???åץȥåפ? BIOS ???????????𤷤ʤ??Ȥ??ˡ? apmd ?? POWERSTATECHANGE ???٥??Ȥ򥷥ߥ??졼?Ȥ????ޤ??? ?????ˤ??ꡢ?Ÿ??????ɤ?ȴ?????Ȥ??? LCD ?Хå??饤?Ȥ??Ť????? ?Ȥ??ä????Ȥ???ǽ?ˤʤ??ޤ???
??Ĺ?⡼?ɤ?ư??ޤ???

apmd ?ϵ?ư?????????ե????? (?ǥե????Ȥ? /etc/apmd.conf) ???ɤ߹??ߡ? ?ƻ뤹?٤????٥??Ȥ? APM ?ǥХ????ɥ饤?Ф????Τ??ޤ??? ??λ???ˤ? APM ?ǥХ????ɥ饤?Фϥ??٥??Ȥδƻ?????ưŪ?˲??????ޤ???

apmd ?ץ????????????ʥ? SIGHUP ???????????ȡ??????ե????????ɤ߹???ľ???ơ? ???????ѹ????Ƥ? APM ?ǥХ????ɥ饤?Ф????Τ??ޤ???

apmd ?桼?ƥ????ƥ??ϡ??ǥХ????ե????? /dev/apmctl ????ͳ???ơ????٥??Ȥμ????????? APM ?????ƥ??????Ѥ? ioctl(2) ?׵???ȯ?Ԥ??ޤ??? ???ΥǥХ????ե?????????¾???椵???ƥ????ץ󤵤??뤿?ᡢ apmd ?ץ???????Ʊ???? 1 ?ĤΤߵ?ư??ǽ?Ǥ???

apmd ?? APM ???٥??Ȥ??????????ȡ??????ե??????ǻ??ꤵ?줿 ???٥??Ȥ??б????륳?ޥ??ɥꥹ?Ȥ??¹Ԥ??뤿???? ?ҥץ????????????????Ƥ? APM ???٥??Ȥ??Ԥ????֤ˤʤ??ޤ??? ???????줿?ҥץ??????ϡ? ???ꤵ?줿???ޥ??ɤ? 1 ?Ĥ??????󤵤줿???֤˼¹Ԥ??ޤ???

apmd ?? SUSPEND/STANDBY ?׵????Ф??륳?ޥ??ɥꥹ?Ȥ????????Ƥ????֡? ?????ͥ????? APM ?ǥХ????ɥ饤?Фϡ?APM BIOS ???Ф??? ???? 1 ???ʾ????Τ?ȯ?Ԥ?³???ޤ??? ?????ˤ??ä? BIOS ?ϡ????ޥ??ɽ??????Ǥ????׵᤬ ?ޤ????뤷?Ƥ??ʤ????Ȥ?ǧ?????ޤ???

apmd ?桼?ƥ????ƥ??ϥե????? /var/run/apmd.pid ???????????ץ????? ID ????Ͽ???ޤ????????? apmd ?? kill ?䡢?????ե????????ɤ߹??ޤ??뤿???˻Ȥ??ޤ???

apmd ???????ե??????ι?¤???????˥????ץ??Ǥ??? ?㤨?м??Τ褦?ˤʤ??ޤ???
apm_event SUSPENDREQ {
        exec "sync && sync && sync";
        exec "sleep 1";
        exec "zzz";
}

???????Ǥϡ?APM ???٥??? ‘SUSPENDREQ’ (?ǥ????ץ쥤???Ĥ??????ʤɤ?ȯ?????ޤ?) ?? apmd ???????????ȡ? ‘sync’ ???ޥ??ɤ? 3 ???¹Ԥ????????Ԥä????Ȥ? zzz (apm -z) ???¹Ԥ??ƥ????ƥ??򥵥??ڥ??ɤ????ޤ???

  • apm_event ???????
    apm_event’ ?ϥ?????ɤǤ??ꡢ???٥??Ȥ??Ȥ??????γ??Ϥ??ؼ????ޤ???
  • APM ???٥???
    ʣ???Υ??٥??Ȥ??Ф???Ʊ?????????¹Ԥ??????????ϡ????????Υ??٥???̾?? ?????ޤǶ??ڤäƻ??ꤷ?ޤ??? ͭ???ʥ??٥???̾?ϼ????̤??Ǥ???
    • - apmd ????ư?????Ƥ????ȥ????ͥ??Ǥν??????Ԥ??ʤ??ʤ륤?٥???:

      STANDBYREQ
       
      USERSTANDBYREQ
       
      SUSPENDREQ
      ???ޥ??ɥꥹ?Ȥ? sync ???ޤ??뤳?Ȥ򤪤????ᤷ?ޤ?
      USERSUSPENDREQ
      ???ޥ??ɥꥹ?Ȥ? sync ???ޤ??뤳?Ȥ򤪤????ᤷ?ޤ?
      BATTERYLOW
      ???ޥ??ɥꥹ?Ȥ? zzz ?Τߤ򤪤????ᤷ?ޤ?
    • - ?????ͥ??ν?????λ???? apmd ?????Τ????륤?٥???:

      NORMRESUME
       
      CRITRESUME
       
      STANDBYRESUME
       
      POWERSTATECHANGE
       
      UPDATETIME
       
      CAPABILITIESCHANGE
       

      ?嵭?ʳ??Υ??٥??Ȥ? apmd ?????Τ????ޤ?????

  • ???ޥ??ɥ饤??ʸˡ
    ???Ҥ????Ǥϡ? ‘exec’ ?????Ϥޤ? 3 ?Ԥϥ??٥??Ȥ??Ф??륳?ޥ??ɤǤ??? ???줾???ιԤϥ??ߥ??????ǽ?λ???Ƥ???ɬ?פ??????ޤ??? ???٥??Ȥ??Ф??륳?ޥ??ɥꥹ?Ȥ? ‘{’ ?? ‘}’ ?ǰϤߤޤ??? apmd ?桼?ƥ????ƥ??ϡ????֥륯?????ơ????????ǰϤޤ줿???ޥ??ɤμ¹Ԥ? system(3) ??Ʊ?ͤ? /bin/sh ?????Ѥ??ޤ??? ?ƥ??ޥ??ɤϥ??ޥ??ɥꥹ?ȤκǸ?????ã???뤫 0 ?ʳ??? ??λ?????ɤǽ??????ޤǽ??֤˼¹Ԥ????ޤ??? apmd ?桼?ƥ????ƥ??ϡ????Ԥ??????ޥ??ɤν?λ?????ɤ??? syslog(3) ??ͳ?????𤷤ޤ??? ?ä??? APM BIOS ???????׵ᥤ?٥??Ȥ??????ä??ޤ???
  • ?Ȥ߹??ߴؿ?
    ???ޥ??ɹԤ??????? apmd ???Ȥ߹??ߴؿ????????Ǥ??ޤ????Ȥ߹??ߴؿ??ϥ??ޥ??ɹԤ?Ʊ?ͤ? ???ߥ??????ǽ?λ???ޤ????????Ȥ߹??ߴؿ??????ߥ??ݡ??Ȥ????Ƥ??ޤ???
    • - reject:
      APM BIOS ??????ľ?????׵??????ݤ??ޤ??? ?ǥ????ץ쥤???Ĥ???????ȯ?????? SUSPEND ?׵??????ݤ??ơ? ?????? STANDBY ???֤ˤ??????????ʤɤ˻??Ѥ??ޤ???

?????ե??????Υ????ץ??ˤϡ??ʲ??Τ??Τ??ޤޤ??Ƥ??ޤ???
apm_event SUSPENDREQ {
        exec "/etc/rc.suspend apm suspend";
}

apm_event USERSUSPENDREQ {
        exec "sync && sync && sync";
        exec "sleep 1";
        exec "apm -z";
}

apm_event NORMRESUME {
        exec "/etc/rc.resume apm suspend";
}

apm_event STANDBYRESUME {
        exec "/etc/rc.resume apm standby";
}

# resume event configuration for serial mouse users by
# reinitializing a moused(8) connected to a serial port.
#
#apm_event NORMRESUME {
#       exec "kill -HUP `cat /var/run/moused.pid`";
#}

# suspend request event configuration for ATA HDD users:
# execute standby instead of suspend.
#
#apm_event SUSPENDREQ {
#       reject;
#       exec "sync && sync && sync";
#       exec "sleep 1";
#       exec "apm -Z";
#}

/etc/apmd.conf
 
/dev/apmctl
 
/var/run/apmd.pid
 

apm(4), apm(8)

Mitsuru IWASAKI ⟨iwasaki@FreeBSD.org⟩ KOIE Hidetaka ⟨koie@suri.co.jp⟩

?ޤ??? Warner Losh ⟨imp@FreeBSD.org⟩, Hiroshi Yamashita ⟨bluemoon@msj.biglobe.ne.jp⟩, Yoshihiko SARUMARU ⟨mistral@imasy.or.jp⟩, Norihiro Kumagai ⟨kuma@nk.rim.or.jp⟩, NAKAGAWA Yoshihisa ⟨nakagawa@jp.FreeBSD.org⟩, Nick Hilliard ⟨nick@foobar.org⟩ ?ˤ????׸????????ޤ?????

apmd ?桼?ƥ????ƥ??? FreeBSD 3.3 ?????о줷?ޤ?????
June 28, 1999 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 8 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.