Unix-commands-clockdiff

提供:Dev Guides
移動先:案内検索

clockdiff-Unix、Linuxコマンド

link:/unix_commands/index [previous] link:/unix_commands/index [next] [[1]] php [AddThis Social Bookmark Button]

NAME

概要

*clockdiff* [ *-o* ] [ *-o1* ] *** *__ destination __* *

説明

*clockdiff* ICMP TIMESTAMPを使用して、1ミリ秒の解像度で私たちと_destination_間のクロック差を測定します

パケット、またはオプションでIP TIMESTAMPオプション

ICMP ECHOにオプションが追加されました。

Tag Description
-o Use IP TIMESTAMP with ICMP ECHO instead of ICMP TIMESTAMP messages. It is useful with some destinations, which do not support ICMP TIMESTAMP (f.e. Solaris <2.4).
*-o1 * Slightly different form of* -o*, namely it uses three-term IP TIMESTAMP with prespecified hop addresses instead of four term one. What flavor works better depends on target host. Particularly, *-o *is better for Linux.

警告

Tag Description
o Some nodes (Cisco) use non-standard timestamps, which is allowed by RFC, but makes timestamps mostly useless.
o Some nodes generate messed timestamps (Solaris>2.4), when run* xntpd*. Seems, its IP stack uses a corrupted clock source, which is synchronized to time-of-day clock periodically and jumps randomly making timestamps mostly useless. Good news is that you can use NTP in this case, which is even better.
o clockdiff shows difference in time modulo 24 days.

関連項目

*pingarpingtracepath*

参考文献

[1] ICMP ECHO, RFC0792、14ページ。

[2] ICMP TIMESTAMP, RFC0792、16ページ。

[3] IP TIMESTAMP option, RFC0791、3.1、16ページ。

著者

*clockdiff* は、Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>によってコンパイルされました。 これは、BSD *timed* デーモンから借用したコードに基づいていました。

セキュリティ

*clockdiff* を実行するにはCAP_NET_RAWIO機能が必要です。 set-uidルートとして使用しても安全です。

可用性

*clockdiff* は_iputils_パッケージの一部であり、匿名FTP ftp://ftp.inr.ac.ru/ip-routing/iputils-current.tar.gzのソース形式で最新バージョンが利用可能です。 リンク:/unix_commands/index [image:/previous.gif[previous]]リンク:/unix_commands/index [image:/next.gif[next]]リンク:/cgi-bin/printversion.cgi?tutorial = unix_commands&file = clockdiff [image:/print.gif[Printer Friendly]]
  
Advertisements