NTP 升级3

2022-04-25 00:02:58 浏览数 (1)

升级

当前版还是 Ver. 4.2.6p5

代码语言:javascript复制
[root@h101 etc]# /usr/sbin/ntpd --help 
ntpd - NTP daemon program - Ver. 4.2.6p5
USAGE:  ntpd [ -<flag> [<val>] | --<name>[{=| }<val>] ]...
  Flg Arg Option-Name    Description
   -4     ipv4           Force IPv4 DNS name resolution
	- prohibits these options:
	ipv6
   -6     ipv6           Force IPv6 DNS name resolution
	- prohibits these options:
	ipv4
   -a     authreq        Require crypto authentication
	- prohibits these options:
	authnoreq
   -A     authnoreq      Do not require crypto authentication
	- prohibits these options:
	authreq
   -b     bcastsync      Allow us to sync to broadcast servers
   -c     configfile     configuration file name
   -d     debug-level    Increase output debug message level
				- may appear multiple times
   -D     set-debug-level Set the output debug message level
				- may appear multiple times
   -f     driftfile      frequency drift file name
   -g     panicgate      Allow the first adjustment to be Big
				- may appear multiple times
   -i     jaildir        Jail directory
   -I     interface      Listen on an interface name or address
				- may appear multiple times
   -k     keyfile        path to symmetric keys
   -l     logfile        path to the log file
   -L     novirtualips   Do not listen to virtual interfaces
   -n     nofork         Do not fork
   -N     nice           Run at high priority
   -p     pidfile        path to the PID file
   -P     priority       Process priority
   -q     quit           Set the time and quit
   -r     propagationdelay Broadcast/propagation delay
          saveconfigquit Save parsed configuration and quit
   -s     statsdir       Statistics file location
   -t     trustedkey     Trusted key number
				- may appear multiple times
   -u     user           Run as userid (or userid:groupid)
   -U     updateinterval interval in seconds between scans for new or dropped interfaces
          var            make ARG an ntp variable (RW)
				- may appear multiple times
          dvar           make ARG an ntp variable (RW|DEF)
				- may appear multiple times
   -x     slew           Slew up to 600 seconds
   -m     mlock          Lock memory
   -!     version        Output version information and exit
   -?     help           Display extended usage information and exit
   -!     more-help      Extended usage information passed thru pager

Options are specified by doubled hyphens and their name or by a single
hyphen and the flag character.

The following option preset mechanisms are supported:
 - examining environment variables named NTPD_*



please send bug reports to:  http://bugs.ntp.org, bugs@ntp.org
[root@h101 etc]#
ntp

0 人点赞