差分
この文書の現在のバージョンと選択したバージョンの差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン 次のリビジョン 両方とも次のリビジョン | ||
os:oi:ntp:start [2011/12/03 16:37] yuki |
os:oi:ntp:start [2011/12/03 16:39] yuki |
||
---|---|---|---|
ライン 8: | ライン 8: | ||
- パッケージが入って無ければ入れる。 | - パッケージが入って無ければ入れる。 | ||
* <code># pkg install network/ntp</code> | * <code># pkg install network/ntp</code> | ||
- | - /etc/inet/ntp.confを準備する。ntp.clientを雛形としてコピー | + | - /etc/inet/ntp.confを準備する。ntp.clientを雛形として使用。 |
* <code># cd /etc/inet | * <code># cd /etc/inet | ||
# cp ntp.client ntp.conf | # cp ntp.client ntp.conf | ||
ライン 15: | ライン 15: | ||
- NTPサービスの起動 | - NTPサービスの起動 | ||
* <code># svcadm enable network/ntp</code> | * <code># svcadm enable network/ntp</code> | ||
+ | - ほいさ | ||
+ | * <code># ntpq -p | ||
+ | remote refid st t when poll reach delay offset jitter | ||
+ | ============================================================================== | ||
+ | *nazuna.ainoniwa 202.234.233.106 4 u 46 64 377 0.294 -14.648 4.141</code> | ||
+ |