[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
howtos:network_services:ntp [2013/03/01 16:36 (UTC)] – Added a short explanation about problems with NFS and NIS when clients are out of sync kikinovak | howtos:network_services:ntp [2014/02/17 21:13 (UTC)] – kikinovak | ||
---|---|---|---|
Line 154: | Line 154: | ||
<note tip> | <note tip> | ||
+ | | ||
+ | ===== Monitor the performance of ntpd ===== | ||
- | === Synchronizing at boot time === | + | You will notice that the logfile ''/ |
- | If instead of using a daemon, all you want to do is to synchronize time once per boot, it is possible to add the command | + | < |
- | + | statsdir / | |
- | ~# cat /etc/rc.d/rc.local | + | statistics loopstats |
- | #!/bin/sh | + | filegen loopstats file loops type day link enable |
- | # | + | </ |
- | # /etc/rc.d/rc.local: | + | |
- | # | + | You have to create |
- | # Put any local startup commands in here. Also, if you have | + | < |
- | # anything that needs to be run at shutdown | + | 56690 3950.569 0.001199636 2.297 0.001830770 0.571576 10 |
- | # make an /etc/rc.d/rc.local_shutdown script and put those | + | </ |
- | # commands | + | |
- | | + | The first and second number are the UTC time (expressed as [[http://en.wikipedia.org/wiki/ |
- | . | + | |
- | . | + | To monitor the performance of '' |
- | ntpd -qg & | + | |
+ | < | ||
+ | $ awk ' | ||
+ | $ awk ' | ||
+ | $ gnuplot | ||
+ | gnuplot> set xzeroaxis | ||
+ | gnuplot> plot 'time' with yerror | ||
+ | gnuplot> plot ' | ||
+ | </code> | ||
+ | |||
+ | Given enough data, visual examination of the plots will allow you to see peculiarities | ||
+ | |||
+ | {{: | ||
====== Sources ====== | ====== Sources ====== | ||
* Originally written by [[wiki: | * Originally written by [[wiki: | ||
+ | * Performance monitoring section contributed by Dominik Drobek | ||
<!-- Please do not modify anything below, except adding new tags.--> | <!-- Please do not modify anything below, except adding new tags.--> | ||
<!-- You must remove the tag-word " | <!-- You must remove the tag-word " | ||
{{tag> | {{tag> |