Questions tagged [time]
Time is a dimension in which events can be ordered from the past through the present into the future, and also the measure of durations of events and the intervals between them.
486
questions
3
votes
1
answer
6k
views
Time Synch Architecture in Windows Domain Environment
I just read the following article --
"In a domain, time synchronization takes place when Windows Time Service turns on during system startup and periodically while the system is running."
( http://...
0
votes
1
answer
2k
views
System time problems on Debian (wait for clock tick timed out)
I just installed a new server and changed the time zone by using the command:
dpkg-reconfigure tzdata
the system clock is correct now but /sbin/hwclock --systohc doesn't work:
select() to /dev/rtc ...
3
votes
2
answers
1k
views
CentOS 5 clock running twice as fast
The system clock on a CentOS 5 install is running twice as fast as it should. The hardware clock is fine, and when I run a ntp sync, it resets to the correct time. But within 2 minutes, it is already ...
0
votes
2
answers
124
views
Timekeeping between various Windows computers on network (but not all)
I have a situation where I have the following setup:
============Primary Network===============
=
=
Bridging Server
=
...
1
vote
3
answers
5k
views
Linux Centos 6.2 "hangs" until date is synchronized
I'm having a problem that i cannot understand why or how to solve it.
I have a Centos 6.2 server, that's my secondary DNS (bind 8) and DHCP (ISC's dhcp server).
I need to maintain an accurate date ...
5
votes
1
answer
6k
views
Correct time drift throughout entire Windows domain
I have done a lot of research but failed to find a reliable answer to our problem.
The short story is our entire Windows domain is running 35 minutes slow. I.e. servers and workstations. I think ...
4
votes
1
answer
18k
views
Windows Server 2008 R2 time keeps changing unexpectedly
There is a serious problem with one of my servers time.
At some random hours (5:59 localtime in the following example) it goes 1 hour back and keeps doing this again and again next times it reaches 5:...
1
vote
1
answer
2k
views
ntpdate cannot receive data
I have a problem where running ntpdate on my server doesn't return any data therefore I get the following error:
[root@server etc]# ntpdate -d -u -v time.nist.gov
12 Apr 01:10:09 ntpdate[32072]: ...
2
votes
1
answer
3k
views
Measure query execution time in bash
I need to measure a query total execution time from inside a bash script.
Somebody told me to submit something like:
mysql --user="someuser" --password="pw" -D "dbname" -e 'your-sql-command;'
Is ...
1
vote
1
answer
1k
views
Time sync fails on Hyper-V VM, but succeeds when I log in as a domain user
We have a Windows Server 2003 SP2 VM running on Hyper-V (Server 2008 R2 host). The VM has Hyper-V time synchronization enabled.
I noticed that the time on the VM was fast by around 25 minutes. I saw ...
-1
votes
1
answer
1k
views
Multiple NTP Server Instances on One Server (Linux)
Is it possible to run multiple NTP server instances on the same system? We're using CentOS for our NTP system and want to synchronize specific time depending on what interface the client comes in on. ...
6
votes
3
answers
11k
views
Increase rsyslog/syslog precision to include fractional seconds?
I use syslog and rsyslog to handle logging on my Linux & FreeBSD systems.
The timestamp is currently in seconds but I would like to increase the precision of these timestamps to include ...
4
votes
3
answers
2k
views
Windows time command equivalent
There is a command in Linux that outputs system utilization called time. Is there a Windows equivalent? Or how else can I manually use the task manager commands in a batch file?
1
vote
1
answer
1k
views
How to find date/time used by Cassandra
Earlier this morning I noticed that one of the nodes in our Cassandra cluster is writing logs an hour in the future, despite the date/time being correct on the OS. A couple of other nodes I checked ...
0
votes
1
answer
270
views
Re-Syncing and Updating Domain Controller Clocks
Right now in Windows Server 2008 R2 I have ran this in the Administrator: Command Prompt.
w32tm /config /manualpeerlist:bigben.cac.washington.edu /syncfromflags:MANUAL
net stop w32time & net ...
0
votes
2
answers
225
views
What would be the down sides of running a VPS on GMT time instead of American time?
I have a VPS which is hosted in America somewhere. It's alright and does a job.
However, while configuring the web mail system on the VPS, I noticed that the time displayed was for America and not ...
0
votes
1
answer
70
views
process in the background
I have loop in shell script and it takes time process only a few files in the list. How do I push the process in the background and select the next file while the first file is still being processed?
...
2
votes
1
answer
191
views
RHEL: Timezone change affected processes
I'm having troubles by a recent time zone change (the time went an hour back).
Even though using the date command returns the correct time and date, i'm having trouble with programs that use log4j (it ...
1
vote
3
answers
1k
views
Problems with time correction on Debian
I am trying to correct the time on the Debian server. I selected my timezone in the
/usr/bin/tzselect
I select the correct continent and country, when the system asks me if the date is correct and I ...
0
votes
2
answers
590
views
Add time to Windows script
I have this mini Windows Script which is execute every hour it basically create a file every hour but I need to rename the file using date (which is already done) but I am not able to add the time
......
2
votes
1
answer
471
views
Do CDMA based time servers passively read timing information from the cell network?
GPS based time servers are receive only, that is, they passively read the timing information from the GPS network. Do CDMA based time servers work the same way? In other words, do CDMA based time ...
64
votes
7
answers
115k
views
How to convert 'dmesg' time format to 'real' time format
I have (for example) this log entry in dmesg output:
[600711.395348] do_trap: 6 callbacks suppressed
Is there a possibility to convert this 'dmesg' time to 'real' time to know, when this event ...
1
vote
1
answer
937
views
How to prefix logs with date and time
How to prefix all logs with date time before they are written to the log file?
Let's say I am logging unexpected errors in crontab in the following way:
python somescript.py >> /tmp/output.log ...
0
votes
1
answer
1k
views
running cron once a minute 8am-8pm
i need to run cron job once a minute 8a.m. - 8p.m.
my code is: */01 8-20 * * * user /usr/bin/php -f script.php > /dev/null
but it seems to fail..
1
vote
3
answers
131
views
2008DC Time Server
OK, stupid question for the day ;)
How do I setup a 2008R2DC to be the domain time server? I have the link to the MS KB article and I have the link to the pool.ntp.org site with a whole bunch of ...
6
votes
3
answers
3k
views
Clock is 10% faster than normal
I'm having some strange problem with the clock on my server – it's about 10% faster than normal.
The problem started 2 days ago and I've not done anything special with the server.
I tried to turn of ...
9
votes
3
answers
53k
views
How to temporarily stop time syncing with domain controller?
I wish to do some testing on my local machine which requires me to put the date forward a year. So I can test some stuff in SQL Server (i've found it not possible to override the sql server time).
...
1
vote
3
answers
6k
views
sync time on linux using ntp and persist it
on linux to sync time with ntp you say
ntpdate pool.ntp.org
however after reboots, the time gets reset to some odd value again. is there a way to persist the changes?
how do I set the computer ...
2
votes
4
answers
577
views
Anybody tried to use graphic card as a precision clock on a Windows server?
I am thinking (constantly) how to make my server be synchronised better than it is. I run some cheap app which syncs me with some stratum 2 server on the colo and drift is about 1-2 ms per 10 sec (...
2
votes
2
answers
483
views
Windows 2008 - Time Sync
What is the threshold in Windows 2008 when the local clock differs from an NTP source and it will not synchronize?
For example, if the local time is off > 2 days, will NTP still sync? Is there a ...
2
votes
1
answer
3k
views
Windows 2008 R2 64 bit multihomed. NTP time synching issue
I have a DMZ machine that i wish to sync to a time source ().pool.ntp.org.
Perimeter Firewall is setup to allow relevant ports through.
Obviously local FW on the server is on and configured to allow ...
2
votes
2
answers
4k
views
How can I allow a limited user to change the system time in Windows 7 without disabling UAC?
I need to allow a couple specific users rights to change their local system time in Windows 7 x64. I have already assigned them the right through group policy using the "Change the system time" user ...
2
votes
1
answer
2k
views
Meinberg ntp for Windows - force more frequent updates?
I have a Windows VM that has time drift problems, and left to its own devices will drift by minutes per day.
I know there are issues with time on VMs, but I was hoping using the Meinberg NTP service ...
5
votes
2
answers
251
views
date +%s glitches
I have a strange issue I'm starting to troubleshoot and wondered if anyone would have any helpful tips.
I have a cronjob executed every minute that executes a script and appends the output to a file ...
1
vote
2
answers
827
views
Run a job once at a specific time
I'm trying to create a cron that will run one time at a specific time.
For simplicity, how can I create a cron that will run at 11:57PM and print "Hello" to the screen then delete itself? (Cent OS 5)
1
vote
1
answer
255
views
Is it possible to set the date/time on a Fedora 14 server and have it retain the setting on reboot
I've successfully set the date/time and, after reboot, it is reset [or, at least, off].
I use Linode to host the F14 VPS.
Fix: set proper time zone in /etc/sysconfig/clock
4
votes
1
answer
2k
views
Syncing Domain Controller Clocks
It appears some computers in our computer lab have clocks running about 3-4 minutes fast.
As of right now, when we join a computer to the domain, it sets the clock based on our server's Domain ...
1
vote
1
answer
199
views
Current time is off on a Windows 2003 Server DC
I have a single server that is also a domain controller in a cabinet, there are no other servers attached to its domain. I've reset the time in the BIOS (from what I recall) and in Windows to the ...
18
votes
3
answers
8k
views
What is the largest hardware clock update the Linux kernel "11-minute mode" can make?
When certain time-related programs (like ntpd) are running on a Linux system, the kernel will switch into so-called "eleven minute mode" (see the hwclock man page) whereby it will automatically update ...
3
votes
2
answers
70k
views
WS2008 NTP - Using time.windows.com,0x9 - Time always skewed forwards
I have a domain controller configured to use time.windows.com (with 0x09 flags set). I've noticed that frequently the systems' clock is fast - it varies from 10 minutes to even 45 minutes. I always ...
1
vote
1
answer
19k
views
Using w32tm to resync all computers on a domain
I've noticed the time on all of our computers seems to be off by about 5 minutes. I think most computers are set up to sync time with one of our servers. after running a net time or a w32tm /query /...
0
votes
1
answer
3k
views
Fake Server Uptime (Linux/Windows) [closed]
Is it possible to fake the server uptime in any way (throttling the time).?(Linux/Windows). I guess it will cause serious troubles, still just wondering.
-Cheers
0
votes
1
answer
81
views
Windows timezone
In Windows, we can change timezone easily. But I have one question. In the dropdown list, there are several options for the same timezone. For example, for UTC+8, we can see these options:
(UTC+08:00) ...
3
votes
2
answers
2k
views
How to synchronize windows server date/time?
I administer multiple Windows servers. One issue I have is that the time gets out of sync, and this becomes noticeable over a week or so.
For example, my app server system time could be different ...
2
votes
1
answer
2k
views
Who sets NFS modification time - client or server?
I was curious about what exactly time is going to NFS file metadata when client writes a file. My assumption is that client time is recorded and not NFS server's time. But I wasn't able to find out ...
11
votes
1
answer
6k
views
server restart after timezone change
Is it required that the server should be rebooted once I change the time?
I ran into trouble when I changed the datetime and did not restart crond.
Is there any other service that may have issues ...
1
vote
1
answer
193
views
print from a specific time in a log time
I wrote a script to print 5 days prior to the end of a log file ! and now I want to change it in some way to print 5 hours prior to the end of the file !
this is the script :
for d in \
$(sed -...
0
votes
1
answer
6k
views
nginx with php5-fpm, maximum execution time exceeded
In php.ini I have set "max_execution_time = 1200", phpinfo() confirms that, but my script stops after 300 seconds with message:
"PHP Fatal error: Maximum execution time of 300 seconds exceeded"
...
3
votes
2
answers
362
views
Better to use same or closer NTP servers when distributed?
I have a group of servers located in several data centers. They should all be synced so that they have the same time, and ideally, should also have the correct time.
Is it better to sync them all ...
5
votes
2
answers
8k
views
datetime format changed between mysql 5.0 and 5.1?
I've upgraded a mysql slave from mysql 5.0 to mysql 5.1. during the catch up, the replication failed on a query with incorrect datetime value:
110919 13:56:18 [ERROR] Slave SQL: Error 'Incorrect ...