Chronyc

From Fritz!Box
Jump to: navigation, search

AVM Wiki >> Shell-Befehle >> chronyc @ whmf   -   IRC-Chat   -   hu nl it English
Community Modelle Zubehör Environment Konfiguration Shell-Befehle Software Freetz Lexikon Tipps+Tricks Bilder

Startup-Scripts AVM-Befehle BusyBox-Befehle Linux-Befehle Shared Libraries Kernel-Module Listings Todo

Contents

Befehl

chronyc ist das Steuerinterface für chronyd und wird mit meist mehrzeiligen Scripts gefüttert.

Aufgerufen von

Kommunikation

Aufruf

$ chronyc -?
Usage : chronyc [-h <hostname>] [-p <port-number>] [-n] [command]

Befehle

accheck <address> : Check whether NTP access is allowed to <address>
activity : Check how many NTP sources are online/offline
allow [<subnet-addr>] : Allow NTP access to that subnet as a default
allow all [<subnet-addr>] : Allow NTP access to that subnet and all children
burst <n-good>/<n-max> [<mask>/<masked-address>] : Start a rapid set of measurements
clients : Report on clients that have accessed the server
cmdaccheck <address> : Check whether command access is allowed to <address>
cmdallow [<subnet-addr>] : Allow command access to that subnet as a default
cmdallow all [<subnet-addr>] : Allow command access to that subnet and all children
cmddeny [<subnet-addr>] : Deny command access to that subnet as a default
cmddeny all [<subnet-addr>] : Deny command access to that subnet and all children
cyclelogs : Close and re-open logs files
deny [<subnet-addr>] : Deny NTP access to that subnet as a default
deny all [<subnet-addr>] : Deny NTP access to that subnet and all children
dump : Dump all measurements to save files
exit : Leave the program
help : Generate this help
local off : Disable server capability for unsynchronised clock
local stratum <stratum> : Enable server capability for unsynchronised clock
makestep : Jump the time to remove any correction being slewed
manual off|on|reset : Disable/enable/reset settime command and statistics
manual list : Show previous settime entries
minpoll <address> <new-minpoll> : Modify minimum polling interval of source
maxdelay <address> <new-max-delay> : Modify maximum round-trip valid sample delay for source
maxdelayratio <address> <new-max-ratio> : Modify max round-trip delay ratio for source
maxpoll <address> <new-minpoll> : Modify maximum polling interval of source
maxupdateskew <new-max-skew> : Modify maximum skew for a clock frequency update to be made
offline [<mask>/<masked-address>] : Set sources in subnet to offline status
online [<mask>/<masked-address>] : Set sources in subnet to online status
password [<new-password>] : Set command authentication password
quit : Leave the program
rtcdata : Print current RTC performance parameters
settime <date/time (e.g. Nov 21, 1997 16:30:05 or 16:30:05)> : Manually set the daemon time
sources [-v] : Display information about current sources
sourcestats [-v] : Display estimation information about current sources
tracking : Display system time information
trimrtc : Correct RTC relative to system clock
writertc : Save RTC parameters to file

Beispiele

chronyc Scripts:

rc.chrony online:

password avm
online
trimrtc
exit

rc.chrony trimrtc:

password avm
trimrtc
exit

rc.chrony status:

password avm
sourcestats
sources
tracking
rtcdata
exit

rc.chrony offline:

password avm
offline
exit

Symbole

CPS_ParseNTPSourceAdd
DNS_IPAddress2Name
DNS_Name2IPAddress
MD5Final
MD5Init
MD5Update
PKL_CommandLength
PKL_ReplyLength
gd_parse
get_date
main

Abhängigkeiten

Siehe auch

NTP: (25)