도전2022

ntpq 본문

작업/리눅스

ntpq

hotdigi 2010. 12. 3. 15:50
install
# apt-get install ntp
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Suggested packages:
  ntp-doc
The following NEW packages will be installed:
  ntp
0 upgraded, 1 newly installed, 0 to remove and 17 not upgraded.
Need to get 491kB of archives.
After this operation, 1,233kB of additional disk space will be used.
Get:1 http://kr.archive.ubuntu.com karmic-updates/main ntp 1:4.2.4p6+dfsg-1ubuntu5.1 [491kB]
Fetched 491kB in 0s (995kB/s)
Selecting previously deselected package ntp.
(Reading database ... 152741 files and directories currently installed.)
Unpacking ntp (from .../ntp_1%3a4.2.4p6+dfsg-1ubuntu5.1_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up ntp (1:4.2.4p6+dfsg-1ubuntu5.1) ...
 * Starting NTP server ntpd        


run
# ntpq -c rl
assID=0 status=c011 sync_alarm, sync_unspec, 1 event, event_restart,
version="ntpd 4.2.4p6@1.1549-o Fri Dec  4 18:08:42 UTC 2009 (1)",
processor="i686", system="Linux/2.6.31-22-generic-pae", leap=11,
stratum=16, precision=-20, rootdelay=0.000, rootdispersion=0.240,
peer=0, refid=INIT,
reftime=00000000.00000000  Thu, Feb  7 2036 15:28:16.000, poll=6,
clock=d0a3111b.6efa4f0d  Fri, Dec  3 2010 15:47:55.433, state=0,
offset=0.000, frequency=0.000, jitter=0.001, noise=0.001,
stability=0.000, tai=0



'작업 > 리눅스' 카테고리의 다른 글

valgrind 사용법 익히자.  (0) 2010.12.16
리눅스 시스템 관련 문서  (0) 2010.12.01
MeeGo  (0) 2010.10.20
vncserver  (0) 2010.10.15
-march 검색  (0) 2010.08.16