The asterisk indicates the prefered update node (where first to try to get the time).
remote is the address of the time server, with LOCAL(0) indicating the local clock.
refid indicated the type of the time server. LOCAL or .LCL. means local, .DCFa. is a DCF77 receiver, .PPS. is a hardware device generating a pulse every second.
st is the Stratum, which indicates the accuracy to be expected. Stratum 0 are usually atomic clocks, Stratum 1 might be radio controlled clocks.
when is the time to the next update.
poll is the count that when has to reach before an update is attempted
reach is an octal number that is left-shifted on each update. On a successful update an 1 is shifted in, 0 otherwise.
delay is the RTT to the time server
offset is the difference between the remote and the local clock
The way it's setup currently, your two servers only synchronise themselves locally and not to each other (which wouldn't be that good of an idea anyways without an additional good external source). Go to pool.ntp.org, pick a pool geographically close to you, and add it to your ntp.conf.
how to make a line BLINKING in output and also how to increase font size in output
suppose in run a.sh script
inside echo "hello world "
i want that this should blink in the output and also
the font size of hello world should be big ..
could you please help me out in this (3 Replies)
Hi,
I have a system under test, and I use a script that does a ps.
The output, is in the following format, it's basically the timestamp, followed by the rss and vsize.
09:03:57 68404 183656 68312 181944 69860 217360 67536 182564 69072 183172 69032 199276
09:04:27 68752 183292 70000 189020... (5 Replies)
I have a file with the following content.
> cat /tmp/internetusage.txt
6709.296322 30000 2/7/2010 0.00I am using the following awk command to calculate a percentage from field 1 and 2 from the file.
awk '{ print $1/$2*100 }' /tmp/internetusage.txt
This outputs the value "22.3643" as a... (1 Reply)
Hi All,
I have around 900 Select Sql's which I would like to run in an awk script and print the output of those sql's in an txt file.
Can you anyone pls let me know how do I do it and execute the awk script? Thanks. (4 Replies)
Below script perfectly works, giving below mail output. BUT, I want to make the script mail only if there are any D-Defined/T-Transition/B-Broken State WPARs and also to copy the output generated during monitoring to a temporary log file, which gets cleaned up every week. Need suggestions.
... (4 Replies)
Hi All,
I have result log file which looks like this (below): from the content need to consolidate the result and put it in tabular form
1). Intercomponents Checking
Passed: All Server are passed.
======================================================================
2). OS version Checking... (9 Replies)
I ran the following command.
cat abc.c > abc.c
I got message the following message from command cat:
cat: abc.c : input file is same as the output file
How the command came to know of the destination file name as the command is sending output to standard file. (3 Replies)
In our environment we used to lot of events for ntp issues. I am unable to find the what needs to consider here. :(
ntpq -p fields.
remote refid st t when poll reach delay offset jitter
---------- Post updated at 05:13 AM ---------- Previous update was at 04:47 AM... (1 Reply)
Hi
i an not able to understand what below command in saying in its O/P
what i understand is the astrick(*) one is acting as a ntp master.
but not able to understand what insane and sys.peer here means.
# ntpq
ntpq> pe
remote refid st when poll reach delay ... (2 Replies)
Problem with external aerial and galleonm time server just turned back on. I'm guessing this is telling me its not worked for 9 days?
Should I now force a poll or wait?
$ntpq -p
remote refid st t when poll reach delay offset disp... (2 Replies)
Discussion started by: psychocandy
2 Replies
LEARN ABOUT NETBSD
ntpdc
NTPDC(8) Programmer's Manual NTPDC(8)NAME
ntpdc - vendor-specific NTP query program
SYNOPSIS
ntpdc [-flag [value]]... [--opt-name [[=| ]value]]...
[ host ...]
DESCRIPTION
This manual page briefly documents the ntpdc command. The [= prog-name =] utility program is used to query an NTP daemon about its current
state and to request changes in that state. It uses NTP mode 7 control message formats described in the source code. The program may be
run either in interactive mode or controlled using command line arguments. Extensive state and statistics information is available through
the [= prog-name =] interface. In addition, nearly all the configuration options which can be specified at startup using ntpd's configura-
tion file may also be specified at run time using [= prog-name =] .
OPTIONS -4, --ipv4
Force IPv4 DNS name resolution. This option must not appear in combination with any of the following options: ipv6.
Force DNS resolution of following host names on the command line to the IPv4 namespace.
-6, --ipv6
Force IPv6 DNS name resolution. This option must not appear in combination with any of the following options: ipv4.
Force DNS resolution of following host names on the command line to the IPv6 namespace.
-c cmd, --command=cmd
run a command and exit. This option may appear an unlimited number of times.
The following argument is interpreted as an interactive format command and is added to the list of commands to be executed on the
specified host(s).
-l, --listpeers
Print a list of the peers. This option must not appear in combination with any of the following options: command.
Print a list of the peers known to the server as well as a summary of their state. This is equivalent to the 'listpeers' interactive
command.
-p, --peers
Print a list of the peers. This option must not appear in combination with any of the following options: command.
Print a list of the peers known to the server as well as a summary of their state. This is equivalent to the 'peers' interactive
command.
-s, --showpeers
Show a list of the peers. This option must not appear in combination with any of the following options: command.
Print a list of the peers known to the server as well as a summary of their state. This is equivalent to the 'dmpeers' interactive
command.
-i, --interactive
Force ntpq to operate in interactive mode. This option must not appear in combination with any of the following options: command,
listpeers, peers, showpeers.
Force ntpq to operate in interactive mode. Prompts will be written to the standard output and commands read from the standard
input.
-d, --debug-level
Increase output debug message level. This option may appear an unlimited number of times.
Increase the debugging message output level.
-D string, --set-debug-level=string
Set the output debug message level. This option may appear an unlimited number of times.
Set the output debugging level. Can be supplied multiple times, but each overrides the previous value(s).
-n, --numeric
numeric host addresses.
Output all host addresses in dotted-quad numeric format rather than converting to the canonical host names.
-?, --help
Display extended usage information and exit.
-!, --more-help
Extended usage information passed thru pager.
-> [rcfile], --save-opts[=rcfile]
Save the option state to rcfile. The default is the last configuration file listed in the OPTION PRESETS section, below.
-< rcfile, --load-opts=rcfile, --no-load-opts
Load options from rcfile. The no-load-opts form will disable the loading of earlier RC/INI files. --no-load-opts is handled early,
out of order.
- [{v|c|n}], --version[={v|c|n}]
Output version of program and exit. The default mode is `v', a simple version. The `c' mode will print copyright information and
`n' will print the full copyright notice.
OPTION PRESETS
Any option that is not marked as not presettable may be preset by loading values from configuration ("RC" or ".INI") file(s) and values
from environment variables named:
NTPDC_<option-name> or NTPDC
The environmental presets take precedence (are processed later than) the configuration files. The homerc files are "$HOME", and ".". If
any of these are directories, then the file .ntprc is searched for within those directories.
AUTHOR
David L. Mills and/or others
Please send bug reports to: http://bugs.ntp.org, bugs@ntp.org
see html/copyright.html
This manual page was AutoGen-erated from the ntpdc option definitions.
( 4.2.6p5) 2011-12-24 NTPDC(8)