Project

General

Profile

Download (159 Bytes) Statistics
| Branch: | Revision:
#!/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+)/"

(6-6/8)