Sponsored Content
Full Discussion: losing time
Top Forums UNIX for Dummies Questions & Answers losing time Post 45807 by Perderabo on Thursday 1st of January 2004 11:50:41 PM
Old 01-02-2004
Quote:
Originally posted by ccy
But everyone seems to have skipped the question as to why their Server is losing time...
Including you. You just restate that computers have poor clocks.


The reason is cost. An accurate clock would add from $200 to $50000 to the cost of the computer depending on how much accuracy you wanted. Computer hardware manufacturers are competing heavily in the cost of the system. They aren't willing to spend much money on a super accurate clock.

People who need accurate time just use ntp which can keep you accurate to a fraction of a second.


And to put on my moderator hat... It's hard to know where to draw the line in a thread like this. And yes, I'm as guilty as anyone. This stuff is interesting, but we are not a geophysics site. So a lengthy discussion of of the anomilies in Earth's rotation will quickly get way out of bounds and will accomplish nothing. Let's try to keep stuff computer related. Thanks. Smilie
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Losing Time/Time cloclk

:confused: :confused: :confused: I have a voicemail system that runs on Unix, I am new to unix:rolleyes: . However the manual I have informs me that the unix clock loses three seconds every day, and I have to perform a sync at the end of the month. My questions are simple 1. Is this generic... (4 Replies)
Discussion started by: azdauk
4 Replies

2. UNIX for Dummies Questions & Answers

Losing ownership with gzip

I'm trying to sell the use of gzip instead of compress in our department. One issue I'm having (which is a showstopper) is that I lose the ownership when gzipping and gunzipping, though it's mentioned all over the web that files are supposed to keep ownership. Example: -rwxrwxrwx 1 ms32345 ... (3 Replies)
Discussion started by: superdelic
3 Replies

3. Shell Programming and Scripting

Losing zero in while read

I'm using a while read statement to read in lines from a file, if a value (for example) is 1000.10 in a field, the last zero is removed leaving 1000.1 does anyone know a way to keep the field as it is in the original file? (1 Reply)
Discussion started by: gefa
1 Replies

4. Solaris

Losing my solaris virginity

So here's the scoop. I am working on a project to automate the building of spark based solaris servers. I've got a cursory amount of knowledge of how to use the os after some pretty heavy experience with Linux, and doing a similar project there. I have a few questions though... 1) how is... (5 Replies)
Discussion started by: msarro
5 Replies

5. Shell Programming and Scripting

Losing quotes after redirection

Hello experts, Pleas I have written a shell script to build a parfile but I keep losing the quotes from query1 and query variables after the redirection.. How do I fix this ? PARFILE=${EXPDP_BASE}/expdp_${DAY}.par USERID=$(${ORACLE_BASE}/getpass.ksh SYSTEM opnlkp2.uk.ml.com)... (2 Replies)
Discussion started by: kamathg
2 Replies

6. Emergency UNIX and Linux Support

losing ESSID

Hey guys, facing a weird issue - hoping someone might be able to help. The wireless network on my laptop is configured with a static IP address. (not using nm) When i take the laptop out of the range (or i power the router down) the essid is becoming "off/any". When i'm back in range the... (6 Replies)
Discussion started by: moshe88
6 Replies

7. HP-UX

losing mail enroute

system is HP-UX B.11.23 U ia64 A standard feature of almost all of our cron jobs is to redirect output to a log file, then at the end of the script to embed the contents of that log file in the body of an email sent to the IT staff. Typical code to do this is $MAILER -s "$PROC: $SUBJECT"... (3 Replies)
Discussion started by: edstevens
3 Replies

8. Programming

Losing signal problem

I'm newbie in UNIX programming, I have a problem with signals. I'm writing multithread program, where threads can die at any moment. When thread dies it generates signal SIGUSR1 to main thread and then thread dies. Main thread gets a signal and waits for thread dead. I wrote program like this: ... (5 Replies)
Discussion started by: DendyGamer
5 Replies

9. Forum Support Area for Unregistered Users & Account Problems

Losing the connection

Hi. Recently when I'm logged in to site after some seconds, for instance, I lose the connection and need sign in again. It happens on Firefox and Chrome. Or another example, when I'm logged in to site and click on my nick name (right up corner) I lose the connection to site. User: tiago ... (0 Replies)
Discussion started by: Unregistered
0 Replies

10. UNIX for Dummies Questions & Answers

Losing Time

Our Unix system is losing a considerable amount of time each day, and our support service company says our motherboard is the cause. They "upgraded" us 5 years ago to basically the same thing as what we had previously, and are looking to "upgrade" us again now for about $5,000... I think... (23 Replies)
Discussion started by: Big Z
23 Replies
CHRONYD(8)						       System Administration							CHRONYD(8)

NAME
chronyd - chrony background daemon SYNOPSIS
chronyd [OPTIONS] DESCRIPTION
chrony is a pair of programs for maintaining the accuracy of computer clocks. chronyd is a background daemon program that can be started at boot time. chronyd is a daemon which runs in background on the system. It obtains measurements (e.g. via the network) of the system's offset relative to other systems, and adjusts the system time accordingly. For isolated systems, the user can periodically enter the correct time by hand (using chronyc). In either case, chronyd determines the rate at which the computer gains or loses time, and compensates for this. USAGE
chronyd is usually started at boot-time and requires superuser privileges. If chronyd has been installed to its default location /usr/sbin/chronyd, starting it is simply a matter of entering the command: /usr/sbin/chronyd Information messages and warnings will be logged to syslog. OPTIONS
A summary of the options supported by chronyd is included below. -P priority This option will select the SCHED_FIFO real-time scheduler at the specified priority (which must be between 0 and 100). This mode is supported only on Linux. -m This option will lock chronyd into RAM so that it will never be paged out. This mode is only supported on Linux. -n When run in this mode, the program will not detach itself from the terminal. -d When run in this mode, the program will not detach itself from the terminal, and all messages will be sent to the terminal instead of to syslog. -f conf-file This option can be used to specify an alternate location for the configuration file (default /etc/chrony.conf). -r This option will reload sample histories for each of the servers being used. These histories are created by using the dump command in chronyc, or by setting the dumponexit directive in the configuration file. This option is useful if you want to stop and restart chronyd briefly for any reason, e.g. to install a new version. However, it only makes sense on systems where the kernel can main- tain clock compensation whilst not under chronyd's control. The only version where this happens so far is Linux. On systems where this is not the case, e.g. Solaris and SunOS the option should not be used. -R When this option is used, the initstepslew directive and the makestep directive used with a positive limit will be ignored. This option is useful when restarting chronyd and can be used in conjuction with the -r option. -s This option will set the system clock from the computer's real-time clock. This is analogous to supplying the -s flag to the /sbin/clock program during the Linux boot sequence. Support for real-time clocks is limited at present - the criteria are described in the section on the rtcfile directive in the docu- mentation supplied with the distribution. If chronyd cannot support the real time clock on your computer, this option cannot be used and a warning message will be logged to the syslog. If used in conjunction with the -r flag, chronyd will attempt to preserve the old samples after setting the system clock from the real time clock. This can be used to allow chronyd to perform long term averaging of the gain or loss rate across system reboots, and is useful for dial-up systems that are shut down when not in use. For this to work well, it relies on chronyd having been able to determine accurate statistics for the difference between the real time clock and system clock last time the computer was on. -u user When this option is used, chronyd will drop root privileges to the specified user. So far, it works only on Linux when compiled with capabilities support. -v This option displays chronyd's version number to the terminal and exits -4 Resolve hostnames only to IPv4 addresses and create only IPv4 sockets. -6 Resolve hostnames only to IPv6 addresses and create only IPv6 sockets. FILES
/etc/chrony.conf BUGS
To report bugs, please visit http://chrony.tuxfamily.org/ SEE ALSO
chronyd is documented in detail in the documentation supplied with the distribution (chrony.txt and chrony.texi) and is also available from http://go.to/chrony chrony(1), chronyc(1), chrony.conf(5), hwclock(8), ntpd(8) AUTHOR
Richard Curnow <rc@rc0.org.uk> This man-page was written by Jan Schaumann <jschauma@netmeister.org> as part of "The Missing Man Pages Project". Please see http://www.netmeister.org/misc/m2p2/index.html for details. The complete chrony documentation is supplied in texinfo format. chrony 1.29.1 January 2014 CHRONYD(8)
All times are GMT -4. The time now is 06:13 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy