Project

General

Profile

Download (159 Bytes) Statistics
| Branch: | Revision:
865f4ff4 Marc Dequènes (Duck)
#!/bin/sh

# http://www.ntp.org/ntpfaq/NTP-s-sw-clocks-quality.htm

PARAM=${1:-noexistent}

ntpq -c rv | perl -ne "print \$1 if m/\b${PARAM}=([-]?\d+\.\d+)/"