°Ô½Ã¹° 1,369°Ç
   
rdate, ntpdate Â÷ÀÌÁ¡
±Û¾´ÀÌ : ÃÖ°í°ü¸®ÀÚ ³¯Â¥ : 2010-11-19 (±Ý) 15:58 Á¶È¸ : 16194
±ÛÁÖ¼Ò :
                                
rdate
UDP 37¹øÆ÷Æ® »ç¿ë

ntpdate 
123¹øÆ÷Æ® »ç¿ë

 -b     
 Force the time to be stepped using the settimeofday() system call, rather than slewed (default) using the adjtime() system call. This option should be used when called from a startup file at boot time.
 -u     
 Direct  ntpdate to use an unprivileged port for outgoing packets. This is most useful when behind a firewall that blocks incoming traffic to privileged ports, and you want to synchronize with hosts beyond  the  firewall.  Note  that  the  -d option always uses unprivileged ports.
¡Ø 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()°¡ »ç¿ëµÇ¾ú´Ù.
ºÎÆÃÇÒ ¶§´Â ntpdate -b ·Î, cronµîÀ¸·Î Á¤±âÀûÀ¸·Î ½Ã°£Á¶ÀýÀ» ÇÒ ¶§´Â ¿É¼Ç¾øÀÌ ntpdate »ç¿ë
Áï.... ÆÐŶ ½Ã°£Â÷±îÁö °è»êÇØ ÁÖ´Â ntpdate°¡ rdate º¸´Ù Á¤È®µµ°¡ ³ô´Ù.

À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

 



 
»çÀÌÆ®¸í : ¸ðÁö¸®³× | ´ëÇ¥ : ÀÌ°æÇö | °³ÀÎÄ¿¹Â´ÏƼ : ·©Å°´åÄÄ ¿î¿µÃ¼Á¦(OS) | °æ±âµµ ¼º³²½Ã ºÐ´ç±¸ | ÀüÀÚ¿ìÆí : mojily°ñ¹ðÀÌchonnom.com Copyright ¨Ï www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.