Linux Command - clockdiff
The clockdiff command in Linux measures the time difference between the local machine and a remote host using ICMP Timestamp Requests (RFC 792). It’s useful for roughly checking clock skew between two systems without needing NTP.
- IPv4 only, not on IPv6
- Needs root permissions
sudo clockdiff 192.168.1.1
Install on Ubuntu/Debian/Mint:
sudo apt install iputils-clockdiff