04-13-2011
So I'm summing up:
1. When machine boots, the hardware clock (otherwise accessible via BIOS) sets the system time with "date" command (from somewhere in rc files I guess).
2. When NTP is available, it will keep time by providing drift metrics from refence server.
3. When NTP adjustments are received, and/or when "shutdown" command is issues, the updated time value is used for adjusting hardware clock.
4. When system boots...see 1.
Am I correct?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm running Vector Linux on this computer, and everythign works fine, except for the NIC. I run netconfig, and then when I reboot it says:
DC21140 at 0x9400(PCI BUS 0, device 11) h/w address 00:00:C0:2E:13:dC, and reqquires IRQ 9(provided by PCI BIOS)
Setting up net subsytems.
... (5 Replies)
Discussion started by: Corey
5 Replies
2. UNIX for Dummies Questions & Answers
Hello everyone
I am currently exploring the different time keeping commands in linux. and I having a lot of trouble figuring out the advantages and disadvantages of using daytime command rdate and hwclock and such commands.
Can someone link me to good articles or just give me the answer (5 Replies)
Discussion started by: maniac173
5 Replies
3. UNIX for Dummies Questions & Answers
I've three partitions on /dev/sda: sda1, sda2 sda3. There is FREE space between sda2 and sda3 and sda3 ends on the last sector. sda2 and sda3 have the same number of sectors allocated and so are the exact same size.
/dev/sda2 is already part of the VG VolGroup. However, what puzzles me is that... (0 Replies)
Discussion started by: Devyn
0 Replies
4. Linux
hi all, im linux nubie n want to ask,
1. how to access the windows pc?
if from windows to windows, we can use :
start-run-\\192.168.1.1\e$
now, how about from linux (fedora) n want to access to windows drive?
if I use ssh from linux to windows,
ssh 192.168.6.171
ssh: connect... (6 Replies)
Discussion started by: busoh.sensen
6 Replies
5. UNIX for Dummies Questions & Answers
Hi
I accidentally installed another operating system after I had installed Linux and now I can no longer access your Linux system.any solution?
Thanks (1 Reply)
Discussion started by: adam25bc
1 Replies
6. Shell Programming and Scripting
Hi All,
Here is the problem: I have done a c++ code in Visual Studio 2010, it's a simple project that only have one main function which takes 2 parameters: an integer and a file that stores data. Now, I am asked to write a shell script in linux to execute my main function. I asked my professor... (1 Reply)
Discussion started by: EasonRU
1 Replies
7. UNIX for Advanced & Expert Users
OS: Oracle Enterprise Linux 6.2
Hypervisor: VMWare workstation 9
I created a VM and attached a 7gb virtual disk to it.
Using fdisk , I partioned the disk like below. The filesystems mounted on this is working fine. But I am seeing the message
Partition n does not end on cylinder boundary.... (2 Replies)
Discussion started by: kraljic
2 Replies
8. Linux
Hi All,
On linux system copied a /bin/kill to /bin/killlatest, when i tried to kill a command using /bin/killlatest it is failing with below errors
/bin/killlatest 12345
ERROR: no "killlatest" support.
Please help on this.. My ideas is to write a wrapper over killl command to find out who... (5 Replies)
Discussion started by: sridhar8183
5 Replies
9. UNIX for Dummies Questions & Answers
hello i am new to scripting and Linux in general. i am going to school for sys admin and i will need at least some knowledge on scripting. i have been so far ok with learning basic scripting now i am stuck. with a assignment that i was given it was create a script that will tell you if a number... (2 Replies)
Discussion started by: dragonwrench
2 Replies
10. UNIX for Dummies Questions & Answers
Hi,
First server every thing is working but keeps crashing so to be on the safe side created second server and moved all the files. But I notice there is a " dot " at the end. See below. Not sure what that means. Also getting 403 on Apache. Please see below. Thanks you so much.
ls -l... (4 Replies)
Discussion started by: samnyc
4 Replies
LEARN ABOUT ULTRIX
ntp.conf
ntp.conf(5) File Formats Manual ntp.conf(5)
Name
ntp.conf - Network Time Protocol configuration file
Description
The file is the configuration file for the Network Time Protocol (NTP) daemon, This file must be configured on your system before running
Any host names that you specify in the file must have an entry in the file, or an entry in the master database, if the database is being
served to your system by BIND/Hesiod or Yellow Pages.
The file has four entry formats:
trusting no
This entry guarantees that your system synchronizes only to the NTP servers identified in the peer and server entries specified. Dig-
ital recommends that all systems include the entry.
peer server
This entry identifies server as one of the NTP servers that your system trusts, and from which your system will accept time synchro-
nization. Your system may also provide time synchronization to this server. Servers can be identified by host name or internet
address.
NTP servers should be configured with entries.
server server
This entry identifies server as one of the NTP servers that your system trusts, and from which your system will accept time synchro-
nization. Your system can not provide time synchronization to this server. Servers can be identified by host name or internet
address.
NTP clients should be configured with entries.
peer /dev/null LOCL 1 -5 local
This entry identifies your system as a local reference clock. A local reference clock is the most accurate system clock available at
your site. If you receive time synchronization from the Internet NTP service, you should not include this entry on any of your sys-
tems. At most, one system in a set of nodes running should be identified as a local reference clock.
A host which specifies this entry should not specify any or entries.
Examples
This is a sample configuration file for an NTP client which receives time synchronization from the NTP servers: and Lines beginning with a
number sign (#) are comments.
#
# NTP Configuration File
# This file is mandatory for the ntpd daemon
#
#
#
# ** A L L **
#
# "trusting no" prevents this host from synchronizing
# to any host that is not listed below. It is recommended
# that all hosts include the line "trusting no".
#
trusting no
#
#
# ** S E R V E R **
#
# If you are configuring a server, use "peer" entries to
# synchronize to other NTP servers. For example, server1,
# server2, and server3.
#
#peer server1
#peer server2
#peer server3
#
#
#
#
# ** C L I E N T **
#
# If you are configuring a client, use "server" entries to
# synchronize to NTP servers. For example, server1, server2,
# and server3.
#
server server1
server server2
server server3
#
#
#
# ** L O C A L R E F E R E N C E C L O C K **
#
# If you are configuring a local reference clock, include the
# following entry and the "trusting no" entry ONLY.
#
#peer /dev/null LOCL 1 -5 local
#
See Also
ntp(1), ntpd(8), ntpdc(8)
RFC 1129--Internet time synchronization: The Network Time Protocol
Introduction to Networking and Distributed System Services
ntp.conf(5)