⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Zabbix Configs
All Projects
DuckCorp
»
DuckCorp Infrastructure
»
Zabbix Configs
Overview
Activity
Issues
Repository
Download (159 Bytes)
Statistics
| Branch:
master
| Revision:
root
/
scripts
/
stat_ntpd
@ a7599d1f
View
History
Annotate
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
+)/"
Loading...