Live CD/DVD Tips: Difference between revisions
From MediaWiki
Jump to navigationJump to search
Line 2: | Line 2: | ||
Here is a quick way to start up '''NTP''' services at a shell prompt. Just type in the "'''lntpd'''" bash alias. Further one liner "'''aliases'''" can be found in the '''NST''' "'''README'''" file or type in the "'''nstusage'''" bash function. | Here is a quick way to start up '''NTP''' services at a shell prompt. Just type in the "'''lntpd'''" bash alias. Further one liner "'''aliases'''" can be found in the '''NST''' "'''README'''" file or type in the "'''nstusage'''" bash function. | ||
Example: | |||
<pre> | |||
[root@probe ~]# lntpd | |||
ntpd: Synchronizing with time server: [ OK ] | |||
Starting ntpd: [ OK ] | |||
[root@probe ~]# ntpq -pn | |||
remote refid st t when poll reach delay offset jitter | |||
============================================================================== | |||
88.198.18.245 6.146.224.0 3 u 5 64 1 113.915 68.354 0.002 | |||
24.123.214.97 129.6.15.29 2 u 4 64 1 73.682 38.248 0.002 | |||
62.112.194.64 193.67.79.202 2 u 3 64 1 128.611 -19.668 0.002 | |||
[root@probe ~]# | |||
</pre> | |||
--[[User:Rwh|Rwh]] 14:20, 25 February 2007 (EST) | --[[User:Rwh|Rwh]] 14:20, 25 February 2007 (EST) |
Revision as of 23:44, 26 February 2007
Quick Way To Startup: Network Time Protocol (NTP) Services
Here is a quick way to start up NTP services at a shell prompt. Just type in the "lntpd" bash alias. Further one liner "aliases" can be found in the NST "README" file or type in the "nstusage" bash function.
Example:
[root@probe ~]# lntpd ntpd: Synchronizing with time server: [ OK ] Starting ntpd: [ OK ] [root@probe ~]# ntpq -pn remote refid st t when poll reach delay offset jitter ============================================================================== 88.198.18.245 6.146.224.0 3 u 5 64 1 113.915 68.354 0.002 24.123.214.97 129.6.15.29 2 u 4 64 1 73.682 38.248 0.002 62.112.194.64 193.67.79.202 2 u 3 64 1 128.611 -19.668 0.002 [root@probe ~]#
--Rwh 14:20, 25 February 2007 (EST)