apmsleep

RTCSLEEP(1)                 General Commands Manual                RTCSLEEP(1)



åå
       apmsleep - ãµã¹ãã³ã/ã¹ã¿ã³ãã¤ã¢ã¼ãã«å¥ããå¾ã§å¾©å¸°ãã

æ¸å¼
       apmsleep [-sSnwhVd] [--suspend] [--standby] [--noapm] [--wait] [--help]
       [--version] [--debug] [+]hh:mm

説æ
       ã³ã³ãã¥ã¼ã¿ã®ä¸ã«ã¯ (ç¹ã«ã©ãããããã«ã¯)ã ãªã¢ã«ã¿ã¤ã ã¯ãã㯠(RTC) ãç¨ãã¦
       ä½é»åãµã¹ãã³ãã¢ã¼ããã DRAM ã¢ã¼ãã«å¾©å¸°ã§ããã¿ã¤ãã®ãã®ãããã apmsleep
       ã使ãã¨ãRTC ã®ãç®è¦ã¾ãæå»ããè¨å®ãã¦ãã
       ã·ã¹ãã ããµã¹ãã³ãã¢ã¼ãã»ã¹ã¿ã³ãã¤ã¢ã¼ãã«ãããã¨ãã§ããã RTC
       ããã®å²ãè¾¼ã¿ãããã¨ãã³ã³ãã¥ã¼ã¿ã¯ç®ãè¦ã¾ãã ãã®ãã‐
       ã°ã©ã ã¯ãã«ã¼ãã«æå»ã®ä¸é£ç¶ãªå¤å (leap)
       ãå¾ã¤ãã¨ã«ãã£ã¦ãã®ã¤ãã³ããæ¤ç¥ããæåãè¿ãã¦çµäºããã ä¸å以åã«æå»ã® leap
       ããªãã£ãããä½ãã¾ãããã¨ãããã£ããã 0 以å¤ã®å¤ãè¿ãã¦çµäºããã

       復帰æå»ã®æå®ã«ã¯ 2 ã¤ã®å½¢å¼ãããã

       +hh:mm ã¯ç¾å¨ã®æå»ããã®ç¸å¯¾çãªãªãã»ãããæå®ããã
       ã³ã³ãã¥ã¼ã¿ã復帰ããã¾ã§ã«ã¯ã hh æé㨠mm åã«å ãã¦ä½ç§ããå¿è¦ã¨ãªãã

       hh:mm ã¯å¾©å¸°æå»ã 24 æéãã©ã¼ãããã®ãã¼ã«ã«æå»ã§æå®ããã RTC ã«ä¿åããã¦ããã®ã
       GMT ãããã§ãªããã¯æ°ã«ããªãã¦ããã TZ ç°å¢å¤æ°ã§ã¿ã¤ã ã¾ã¼ã³ãå¤æ´ãã¦ãã¦ãè¯ãã
       å¤æéã¯ãã®ãã¼ã¸ã§ã³ã§ã¯èæ®ãã¦ããªãããå°æ¥ã¯å¯¾å¿ããäºå®ã§ããã

ãªãã·ã§ã³
       -V, --version
              ampsleep ããã°ã©ã ã®ãã¼ã¸ã§ã³ã表示ãã¦ãã ã¡ã«çµäºããã

       -s, --suspend
              å¯è½ãªããã·ã³ããµã¹ãã³ãã¢ã¼ãã«ãã (ããã©ã«ã)ã
              ä½èã®ã©ãããããã§ã¯ããµã¹ãã³ãã¢ã¼ãã¯ã¡ã¢ãªä»¥å¤ã®ãã¹ã¦ã®é»æºãé®æããã

       -S, --standby
              å¯è½ãªããã·ã³ãã¹ã¿ã³ãã¤ã¢ã¼ãã«ããã
              ä½èã®ã©ãããããã§ã¯ãã¹ã¿ã³ãã¤ã¢ã¼ã㯠ã¹ã¯ãªã¼ã³ã»ãã¼ããã£ã¹ã¯ã»CPU
              ã®é»æºãé®æããã

       -w, --wait
              æå»ã® leap ããã¤ã¾ã§ãå¾ã¡ç¶ããã

       -n, --noapm
              ã³ã³ãã¥ã¼ã¿ããµã¹ãã³ããããã¨ãã« /usr/bin/apm ãå¼ã°ãªãã ã¢ã©ã¼ã ã¯ã‐
              ãã¯ãæå¹ã«ãã¦æå»ã® leap ãå¾ã¤ã ãã

       -d, --debug
              ä½ãèµ·ãã£ã¦ããã®ããæå ±ã表示ããã

å¿è¦ã¨ãªãã·ã¹ãã è¨å®
       ã«ã¼ãã«
              ã¹ãã·ã£ã«ã»ãã£ã©ã¯ã¿ã»ããã¤ã¹ /dev/rtc ãåå¨ãã Linux ã«ã¼ãã«ã APM
              㨠RTC ããµãã¼ãããããã« ã³ã³ãã¤ã«ãã¦ãããªããã°ãªããªã (CONFIG_RTC
              ã¨ãé©å㪠CONFIG_APM* ãªãã·ã§ã³)ã

       BIOS   BIOS è¨å®ã§ãã³ã³ãã¥ã¼ã¿ã® "suspend to RAM" æ©è½ã
              æå¹ã«ãã¦ãããªããã°ãªããªãã "suspend to Disk" ã¯åä½ããªãã
              ããã¯ã³ã³ãã¥ã¼ã¿ã®é»æºãå®å¨ã«é®æãã¦ãã¾ãããã§ããã ALARM
              ã¿ã¤ãã¼ã¯æå¹ã«ããªãã¦ãããããã㯠apmsleep
              ã«ãã£ã¦æå¹ã«ãããããã¼ãã«ãã£ã¦ã¯ã
              ãµã¹ãã³ãã¢ã¼ããã復帰ãããå²ãè¾¼ã¿ãé¸ã¹ããã¨ãããã
              ãã®ãããªãã¼ãã使ã£ã¦ããå ´åã¯ããã¼ãã¼ã (IRQ 1) 㨠RTC (IRQ 8)
              ããã®ä¸ã«å«ã¾ãã¦ãããã確ããã¦ããã¨è¯ãã ããã

       æ¨©é   ãã®ããã°ã©ã 㯠root 権éã§å®è¡ãããã SUID å±æ§ãè¨å®ããå¿è¦ããã
              (chmod(1) ãè¦ã)ã

ãã°
       apmsleep ã¯ã©ã®ã¤ãã³ãããµã¹ãã³ãç¶æãçµäºãããããæ¤ç¥ã§ããªãã
       å¯è½æ§ã®ãããã®ã¯ããã¼ãã¼ãã»ãã¦ã¹ã¸ã®å¥åãã¢ãã ã¸ã®çä¿¡ã RTC
       ããã®ã¢ã©ã¼ã ããã®ä»ããããå²ãè¾¼ã¿ããªã©ã

       ãã®ããã°ã©ã 㯠Winbook XL ã©ããããã (Pentium) ã§ãããã¹ãããã¦ããªãã
       ããªãã®ãã¼ãã¦ã§ã¢ã§ã¯åä½ããªããããããªãã

èè
       ãã®ããã°ã©ã 㯠Peter Englmaier (ppe@pa.uky.edu) ã«ãã£ã¦æ¸ããã GNU
       ä¸è¬å¬å±ä½¿ç¨è¨±è«¾ã®ãã¨ã§èªç±ã«åéå¸ã§ããã ãã®ã³ã¼ã㯠Paul Gortmacher ã®
       RTC ãã¹ã/ä¾ç¤ºããã°ã©ã ãåã«ãã¦ããã ãã®ãã‐
       ã°ã©ã ã¯ãå®å¨ã«ç¡ä¿è¨¼ãã§ãããç¾å¨ã®ç®¡çè㯠Peter Englmaier ã§ããã

é¢é£é ç®
       xapm(1), apmd(8), rtc.txt (Linux Kernel Documentation)



APM                    sleep in APM suspend/standby mode           RTCSLEEP(1)