此内容没有您所选择的语言版本。
23.6. Verifying Time Synchronization
			When 
Copy to Clipboard
Copied!
 
 
Toggle word wrap
Toggle overflow
 
 
		
PTP time synchronization is working properly, new messages with offsets and frequency adjustments will be printed periodically to the ptp4l and phc2sys (if hardware time stamping is used) outputs. These values will eventually converge after a short period of time. These messages can be seen in /var/log/messages file. An example of the ptp4l output follows: 
			An example of the phc2sys output follows: 
Copy to Clipboard
Copied!
 
 
Toggle word wrap
Toggle overflow
 
 
		
			For ptp4l there is also a directive, 
 
Copy to Clipboard
Copied!
 
 
Toggle word wrap
Toggle overflow
 
 
			 An example of the ptp4l output, with 
Copy to Clipboard
Copied!
 
 
Toggle word wrap
Toggle overflow
 
 
			 To reduce the output from the phc2sys, it can be called it with the 
 
Copy to Clipboard
Copied!
 
 
Toggle word wrap
Toggle overflow
 
 
			 Where summary-updates is the number of clock updates to include in summary statistics. An example follows: 
Copy to Clipboard
Copied!
 
 
Toggle word wrap
Toggle overflow
 
 
		
summary_interval, to reduce the output and print only statistics, as normally it will print a message every second or so. For example, to reduce the output to every 1024 seconds, add the following line to the /etc/ptp4l.conf file: 
summary_interval 10
summary_interval 10summary_interval 6, follows: 
-u option as follows: 
phc2sys -u summary-updates
~]# phc2sys -u summary-updates