set current time via NTP

sync NTP

NTP (Network Time Protocol ) is protocol which make an arrangement server date via internet.

confirm current time

% date


confirm alive NTP daemon

% ps -ef |grep ntpd


stop daemon

% sudo /etc/init.d/ntpd stop
OK


execute synchronism with NTP server from ntpdate command

% sudo ntpdate -s -b ntp.jst.mfeed.ad.jp


confirm making correct time

% date


start NTP daemon

% sudo /etc/init.d/ntpd start


confirm NTP daemon process

ps -ef |grep ntpd