Ä¿ÇǴнº, ½Ã½ºÅÛ ¿£Áö´Ï¾îÀÇ ½°ÅÍ Ä¿ÇÇÇâÀÌ ³ª´Â *NIX
Ä¿ÇǴнº
½Ã½ºÅÛ/³×Æ®¿÷/º¸¾ÈÀ» ´Ù·ç´Â °÷
* HanIRCÀÇ #coffeenix ¹æ
[ Àåºñ ¹× ȸ¼± ÈÄ¿ø ]
HOME > ½Ã½ºÅÛ °ü¸® / ¼­¹ö¿î¿µ µµ¿ò¸»
°Ë»ö : »çÀÌÆ® WHOIS À¥¼­¹ö Á¾·ù

ÃÖÀûÈ­ / Æ©´× / ¼º´É°³¼± (6, ±Û 1, ÀÚ·á 3)
µð½ºÅ© ÄõÅÍ(quota) (3, ±Û 1, ÀÚ·á 3)
µð½ºÅ© °ü¸® / ÆÄÀϽýºÅÛ / mount (34, ±Û 13, ÀÚ·á 12)
¹é¾÷(backup) / ½Ã½ºÅÛ º¹±¸ (14, ±Û 6, ÀÚ·á 11)
¼­¹ö¿î¿µ (8, ±Û 2, ÀÚ·á 9)
ÇÁ¸°ÅÍ °ü¸® / ÇÁ¸°Æà (7)
ÆÐÅ°Áö °ü¸® / ÆÐÄ¡ / rpm (10, ±Û 5, ÀÚ·á 1)
ºÎÆÃ, boot / LILO / GRUB (10, ±Û 5, ÀÚ·á 9)
¼­¹ö ¸ð´ÏÅ͸µ (10, ±Û 5, ÀÚ·á 2)
·Î±×ÀÎ / ·Î±×¾Æ¿ô (1)
·Î±×(log) / syslog (5, ±Û 3, ÀÚ·á 3)
¸Þ¸ð¸®, ½º¿Ò(swap), ·¥µð½ºÅ©(ramdisk) (3, ±Û 2)
»ç¿ëÀÚ °ü¸®(°èÁ¤ °ü¸®) (1, ÀÚ·á 1)

  ŸÀÓ ¼­¹ö¸¦ ÀÌ¿ëÇÑ ¼­¹öÀÇ ½Ã°£ µ¿±âÈ­. Á» ´õ ü°èÀûÀÎ ±Û(?) ÀÛ¼ºÀÏ : 2003/08/09 23:37
 
  • ±Û¾´ÀÌ : ÁÁÀºÁøÈ£ ( http://coffeenix.net/ )
  • Á¶È¸¼ö : 31940
          [ ÀÌÀüÈ­¸é / ¼öÁ¤ ]   ºñ¹Ð¹øÈ£ :     Àμâ¿ë È­¸é
      ÀÛ¼ºÀÚ : ÁÁÀºÁøÈ£(truefeel, http://coffeenix.net/ )
    ÀÛ¼ºÀÏ : 2003.3.17~18
    ¼öÁ¤ÀÏ : 2003.8.13(¼ö) ntpdateÀÇ ½Ã½ºÅÛ ÄÝ ºÎºÐ Ãß°¡

    Àü¿¡´Â rdate time.nuri.net ¶Ç´Â ntpdate -b time.kriss.re.kr
    ·Î µ¿±âÈ­¸¸ Çߴµ¥, Á»´õ ü°èÀûÀ¸·Î(?) Á¤¸®ÇÒ ÇÊ¿ä°¡ À־ Àû¾îºÃ´Ù.

    1. ¿ì¸®³ª¶óÀÇ NTP(Network Time Protocol) ¼­¹ö

      1) Stratum 1 ¼­¹ö :
         GPS À§¼ºÀ¸·Î ºÎÅÍ Ç¥Áؽð¢Á¤º¸¸¦ ¹Þ´Â ŸÀÓ ¼­¹ö¸¦
         NTP Primary Time Server ȤÀº Stratum 1(one) ¶ó°í ºÎ¸§

         µ¥ÀÌÄÞ (gps.bora.net), ÄÚ³Ý (ntp.kornet.net), GNGIDC,
         ºÎ»ê´ëÇб³ (ntp1.cs.pusan.ac.kr / ntp2.cs.pusan.ac.kr),
         Çѱ¹ Ç¥ÁØ°úÇÐ ¿¬±¸¿ø ½Ã°£ ¡¤ ÁÖÆļö ¿¬±¸½Ç (time.kriss.re.kr)

      2) Stratum 2 ¼­¹ö :
         Stratum 1 ¼­¹ö·Î ºÎÅÍ Ç¥Áؽð£À» ¹Þ´Â ŸÀÓ¼­¹ö¸¦
         TP Secondary Time Server ȤÀº Stratum 2 ¼­¹ö¶ó°í ºÎ¸§

         PSINet Korea (time.nuri.net),
         GNGIDC (ntp1.gngidc.net / ntp2.gngidc.net),
         ÀÌ´ëºÎ¼Ó ÃʵîÇб³ (ntp.ewha.net / ticktock.ewha.net)


    2. rdate¸¦ ÀÌ¿ëÇÑ ½Ã°£ µ¿±âÈ­

      ÁöÁ¤ÇÑ Å¸ÀÓ¼­¹ö·Î ºÎÅÍ ½Ã°£À» È®ÀÎÇϰųª µ¿±âÈ­ ½ÃŲ´Ù.

      1) ŸÀÓ¼­¹öÀÇ Ç¥Áؽð£À» È®ÀÎÇÑ´Ù.

         rdate time.nuri.net
         rdate: [time.nuri.net]  Tue Mar 18 16:38:47 2003

      2) ½Ã½ºÅÛ ½Ã°£À» ŸÀÓ¼­¹ö ½Ã°£¿¡ µ¿±âÈ­ ½ÃŲ´Ù.

         rdate -s time.nuri.net

    3. ntpdate¸¦ ÀÌ¿ëÇÑ ½Ã°£ µ¿±âÈ­

      1) µ¿±âÈ­

          ntpdate -b -s time.kriss.re.kr

         -s : °á°ú¸¦ È­¸éÀÌ ¾Æ´Ñ syslog·Î º¸³¿

      2) ´ÙÀ½°ú °°Àº ¿À·ù°¡ ¹ß»ýÇÑ °æ¿ì

     
      [root@truefeel root]# ntpdate -b time.kriss.re.kr
      17 Mar 21:03:25 ntpdate[8244]: no server suitable for synchronization found
     


      ->  NTP ÇÁ·ÎÅäÄÝÀº UDP port 123 À» »ç¿ëÇϴµ¥, ÀÌ Æ÷Æ®°¡ ¹æÈ­º® µîÀ¸·Î
           ¸·ÇôÀÖ´Â °æ¿ì¿¡´Â

           ntpdate -u time.kriss.re.kr

           ó·³ -u ¸¦ ¿É¼ÇÀ» »ç¿ëÇؼ­ ´Ù¸¥ Æ÷Æ® »ç¿ëÇϵµ·Ï ÇÑ´Ù.

      3) »ç¿ë ¿¹

     
      [root@truefeel root]# date
      ¿ù  3¿ù 17 21:40:35 KST 2003
      [root@truefeel root]# date 03172150 <- °­Á¦·Î ½Ã°£À» 3.17ÀÏ 21:50 À¸·Î º¯°æÇÔ

      ¿ù  3¿ù 17 21:50:00 KST 2003
      [root@truefeel root]#
      [root@truefeel root]# ntpdate -u time.nuri.net <- ½Ã°£À» µ¿±âÈ­ ÇÔ
      17 Mar 21:40:44 ntpdate[8835]: step time server 203.255.112.96 offset -557.336058 sec
      [root@truefeel root]#
      [root@truefeel root]# date
      ¿ù  3¿ù 17 21:40:46 KST 2003  <- ½Ã°£ÀÌ µ¿±âÈ­ µÊ
     


      À§¿¡¼­ 'offset -557.336058 sec'Àº ŸÀÓ¼­¹öÀÇ ½Ã°£(reference time)°ú ·ÎÄà ¼­¹ö¿ÍÀÇ
      ½Ã°£ Â÷À̸¦ ³ªÅ¸³¿

      4) ntpdateÀÇ 2°¡Áö ½Ã½ºÅÛ ÄÝ

      ntpdate´Â settimeofday(), adjtime()ÀÇ  2°¡Áö ½Ã½ºÅÛ ÄÝ·Î ½Ã°£À» ¼³Á¤ÇÑ´Ù.
      settimeofday()Àº timezone°ú ½Ã°£À» ¼³Á¤ÇÏ°í,
      adjtime()Àº Á¡±ÙÀû ½Ã°¢ º¸Á¤ ¹æ½ÄÀ¸·Î Ä¿³Î Ŭ·°À» Á¶Á¤ÇÑ´Ù. ÁÖ·Î ½Ã°£ µ¿±âÈ­¿¡ »ç¿ëÇÑ´Ù.

      ntpdate´Â ¿É¼Ç(-b, -B)À» ÁöÁ¤ÇÏÁö ¾ÊÀ¸¸é ÇöÀç ½Ã½ºÅÛ ½Ã°£°ú Â÷ÀÌ°¡ 128ms ÀÌ»óÀ̸é
      settimeofday()À», À̳»À̸é adjtime()À» »ç¿ëÇÑ´Ù.
      ¶ÇÇÑ °­Á¦ÀûÀ¸·Î ntpdate -b ·Î settimeofday()¸¦, ntpdate -B·Î adjtime()¸¦ »ç¿ëÇÒ ¼ö ÀÖ´Ù.

      ntpdate ½ÇÇà °á°ú ¸Þ½ÃÁö¿¡ 'step time server...'·Î Ç¥½ÃµÇ¸é setimeofday()°¡ »ç¿ëµÇ¾ú°í,
      'adjust time server...' ·Î Ç¥½ÃµÇ¸é adjtime()°¡ »ç¿ëµÇ¾ú´Ù.

     
      [root@truefeel root]# ntpdate time.nuri.net
      14 Mar 01:09:31 ntpdate[3127]: step time server 203.255.112.96 offset 82.763348 sec
      [root@truefeel root]# ntpdate time.nuri.net
      14 Mar 01:22:30 ntpdate[3182]: adjust time server 203.255.112.96 offset -0.064531 sec
     


      ºÎÆÃÇÒ ¶§´Â ntpdate -b ·Î, cronµîÀ¸·Î Á¤±âÀûÀ¸·Î ½Ã°£Á¶ÀýÀ» ÇÒ ¶§´Â ¿É¼Ç¾øÀÌ ntpdate
      »ç¿ëÇϱ⸦ Çϱ⠹ٶõ´Ù.

      5) µð¹ö±ë ¸ðµå

         - µð¹ö±ë ¸ðµå´Â local ¼­¹öÀÇ ½Ã°£À» º¯°æÇÏÁö´Â ¾Ê´Â´Ù.

     
    [root@truefeel root]# ntpdate -d time.nuri.net
    18 Mar 17:33:23 ntpdate[2169]: ntpdate 4.1.1a@1.791 Sat Aug 31 18:27:31 EDT
    2002 (1)
    transmit(203.255.112.96)
    receive(203.255.112.96)
    transmit(203.255.112.96)
    receive(203.255.112.96)
    transmit(203.255.112.96)
    receive(203.255.112.96)
    transmit(203.255.112.96)
    receive(203.255.112.96)
    transmit(203.255.112.96)
    server 203.255.112.96, port 123
    stratum 2, precision -18, leap 00, trust 000
    refid [192.6.38.127], delay 0.04927, dispersion 0.00092
    transmitted 4, in filter 4
    reference time:    c2215828.4ea9e000  Tue, Mar 18 2003 17:32:40.307
    originate timestamp: c2215853.6ad1b000  Tue, Mar 18 2003 17:33:23.417
    transmit timestamp:  c2215853.a19695d9  Tue, Mar 18 2003 17:33:23.631
    filter delay:  0.05023  0.05008  0.04927  0.06329
             0.00000  0.00000  0.00000  0.00000
    filter offset: -0.22637 -0.22621 -0.22640 -0.23302
             0.000000 0.000000 0.000000 0.000000
    delay 0.04927, dispersion 0.00092
    offset -0.226409

    18 Mar 17:33:23 ntpdate[2169]: adjust time server 203.255.112.96 offset
    -0.226409 sec
     


    4. ÁÖÀÇ »çÇ×

      1) time.kriss.re.kr ¼­¹ö´Â 1Ãʳ»¿¡ ¿©·¯¹ø Á¢¼ÓÀ» ½ÃµµÇÒ °æ¿ì ÇØ´ç IP¸¦ Â÷´Ü ½ÃÅ°¹Ç·Î
         Å×½ºÆ®¸¦ ÇÏ´õ¶óµµ, ½Ã°£ °£°ÝÀ» µÎ°í Çϵµ·Ï
      Ä¿ÇǴнº Ä«Æä ÃÖ±Ù ±Û
    [12/21] µðÁö&#5
    [12/21] ¾÷¼Ò&#5
    [12/20] ¸¶ÀÌ&#4
    [12/19] Àνº&#5
    [12/18] ³Ã³­&#4
    [12/17] Youtubeñò
    [12/17] ¹®ÀÇ¿ä
    [12/15] ±¹³» &#
    [12/15] °ú°Å&#5
    [12/13] IGæðÚ¦&
    [12/13] »ï¼º&#5
    [12/12] ±¹°¡&#5
    [12/12] ±¹°¡&#5
    [12/11] ±¹³»&#5
    [12/10] Çö´ë&#5
      New!   ÃÖ±Ù¿¡ µî·ÏÇÑ ÆäÀÌÁö
      KiCad EDA Suite project (Free/Libre/Open-Source EDA Suite) (CAD)
      ¿ÀÇÂij½ºÄÉÀ̵å ijµå (OpenCASCADE CAD)
      QCad for Windows --- GNU GPL (Free Software)
      The Hello World Collection
      IPMI¸¦ È°¿ëÇÑ ¸®´ª½º ¼­¹ö°ü¸®
      DNS ¼³Á¤ °Ë»ç
      nagiosgraph ¼³Ä¡ ¹æ¹ý
      Slony-I ¼³Ä¡ ¹æ¹ý (postgresql replication tool)
      Qmail±â¹ÝÀÇ Anti spam ½Ã½ºÅÛ ±¸ÃàÇϱâ
      clusterssh

    [ ÇÔ²²ÇÏ´Â »çÀÌÆ® ]




    ¿î¿µÁø : ÁÁÀºÁøÈ£(truefeel), ¾ß¼ö(yasu), ¹ü³ÃÀÌ, sCag
    2003³â 8¿ù 4ÀÏ~