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.

learn more… | top users | synonyms

0
votes
1answer
954 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 ...
4
votes
2answers
346 views

How do I make all Xen guests use their host clock value?

I've set up Xen server under Linux with several guests running, and all was well. After some time I've noticed the clock on the server drifted away, so I installed 'ntpd', and the clock was back to ...
18
votes
3answers
165 views

Risk of starting NTP on database server?

I've heard rumors of bad things happening to database and mail servers if you change the system time while they are running. However, I'm having a hard time finding any concrete information on actual ...
0
votes
3answers
149 views

configuring server time to allow for daylight savings [closed]

Ive got a script that is allows users to submit data to a db, when data is submitted a timestamp is also added, my local time zone is GMT, as is my server time as set it plesk 11, but when the data ...
0
votes
1answer
27 views

How to correct the time on a Red Hat EL6 server? Clock is almost 3 hours behind

This did not work: [~]: sudo /usr/sbin/ntpdate pool.ntp.org 19 Feb 08:03:26 ntpdate[6939]: the NTP socket is in use, exiting So, I'm not sure how to proceed... also tried this to no avail: [~]: ...
-1
votes
1answer
46 views

date and sleep during leap second [closed]

Did you ever watch what happens with a sleep during a leap second or what date will show us? Most UNIX systems can handle a sleep with a fraction of a second and the date command can display ...
3
votes
2answers
6k 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
1answer
280 views

ntp returning future time

ive noticed the time on a linux server im maintaining is set to 8 hours in the future. i thought this was weird so i checked ntpd was on, and it is. i thought this was even weirder so i checked the ...
0
votes
2answers
21 views

bind cache not used?

i installed a classic bind9 dns server inside a local network, working as a forwarding dns server, there is my config file (i just added my ISP DNS servers as forwarders): options { directory ...
73
votes
9answers
100k views

How do I get current Unix time in milliseconds using bash?

How do I get the current Unix time in milliseconds (i.e number of milliseconds since Unix epoch January 1 1970)?
0
votes
0answers
20 views

How to properly set apache timeout and number of simultaneous users?

After reading the apache documentation and searching for something that could help me on ServerFault, I'm still confused about how apache Timeout and MaxRequestWorkers work. In particular I have two ...
1
vote
0answers
20 views

Changing the hostname on a Linux Mint desktop to a random value at boot time [migrated]

When changing the hostname to a random set of alphanumeric characters on a machine running Linux Mint(17.1 Rebecca, Cinnamon 64-bit) I encounter some problems. The following script changes the ...
2
votes
1answer
40 views

system clock skewing backwards 112 seconds

I'm troubleshooting a problem on one of my NTP servers. This server seems to defy logic, and I'm at my wits end trying to troubleshoot it. Roughly every 162 seconds, the system clock reverts to ...
2
votes
1answer
331 views

NTP: ntpdate to sync time between the PCs on a private network

I have two systems. One acts as Primary/Active and has Internet connection and gets time from NTP server. The second system is Secondary/Passive and has no connection to the external world. Primary ...
0
votes
0answers
16 views

Using RTC to synchronize ntpd when offline

I need a stable configuration, presumably using ntpd, to keep system clock as precise as possible. Background: I have several embedded devices (arm9) running linux (currently: 3.16.1 / debian 7.2) ...
0
votes
0answers
30 views

tzutil.exe keeps changing server timezone

The time-zone on my windows 2008 server keeps being changed, I performed an audit on the "RegQueryValue" registry operation and "TimeZoneKeyName" key found on the following path ...
0
votes
0answers
25 views

Syslog randomly logs bad time [duplicate]

Try as I might, I can't figure out why this server randomly timestamps syslog entries with bad time. Here's a 5-minute stretch of syslog from a few minutes ago. You'll notice there are two places ...
9
votes
3answers
42k views

How do I force sync the time on Windows Server 2008 R2 Domain Controller?

What is the command to sync a Windows server domain controller to its configured time source?
5
votes
4answers
1k views

Faking the date for a specific shell session

I'm certainly trying to achieve something weird here, but I want to fake the date locally for a shell session on GNU/Linux. I need to black-box test how a program behaves at different dates, and ...
12
votes
3answers
1k views

What is a ToD server, “Time of Day” (Not NTP)

I got a simple task: Setup a ToD server... It is not NTP. It runs on port 37. It seems to be bundled with inetd or xinetd. Shall be installed on Debian or CentOS. Alternatively FreeBSD (pfsense ...
5
votes
2answers
153 views

Windows Server 2012 time keeps setting itself 12 minutes ahead

Our Active Directory server has a problem whereby the time keeps setting itself 12 minutes ahead of the real time. This causes authentication issues on the network. I have tried syncing to an ...
5
votes
3answers
156 views

What is an acceptable secure time source in a datacentre environment?

GPS and NTP are two very typical time sources when accurate clocks are required. However, each has an important failing. NTP does not provide authentication of the time source, and so may be ...
4
votes
1answer
1k views

Windows Server 2008 R2 system time randomly resets to 4 hours in the past

I am having a problem where the time randomly jumps to 4 hours in the past. As a result, none of the scheduled tasks (such as backups) happen at the correct time, and some time-critical applications ...
0
votes
1answer
31 views

Measuring request response time by port

So, I'm currently working on a project in which I spin up a set docker image on a number of different machines and configurations. This image basically contains a web server that accepts a number of ...
4
votes
2answers
378 views

Weird syslog order

Have you ever seen wrong order in /var/log/syslog ? I think that it causes only crontab. Jun 28 22:20:01 alex CRON[2327]: (root) CMD (something > /dev/null) Jun 28 22:21:01 alex CRON[2700]: (root) ...
1
vote
0answers
87 views
0
votes
1answer
37 views

Check how much time has elapsed for Cron job and send email

There is a cron job that is set which runs throughout most of the day, sometimes the job gets stuck and I would like to set a time or check on it which let's me know if it has been stuck for more than ...
-2
votes
1answer
98 views

What is the best way to measure latency via a “telnet to port” test, preferably with built-in Linux tools?

I'm writing a Graphite/Diamond collector measuring network latency. Specifically it should measure the time it takes to open up a connection to a port on a remote server. And it needs to work via ...
0
votes
0answers
151 views

Server times off by over 1 minute after recently syncing

I manually synced the times (and matched hardware times) on two servers A and B. NTP was running on both machines, so I made sure the /etc/ntp.conf files were identical (the time servers on B were ...
1
vote
0answers
78 views

How to configure a redundant PTP server

I have a Sonoma GPS time server and a server, which should synchronise itself to the GPS clock, and serve as a fallback option. The time should be synchronised using PTP (Precision-Time-Protocol). ...
2
votes
1answer
100 views

Can't synchronize time in Ubuntu (Europe/Moscow)

I've got this Ubuntu server virtual machine. I'm trying to setup a correct time on it. I've selected a proper timezone (Europe > Moscow) via sudo dpkg-reconfigure tzdata. After that, I'm using ...
5
votes
2answers
399 views

Synchronize clock with NTP while online, and with RTC while offline?

Is there a existing mechanism that synchronizes a linux system with NTP while online, and with a predictably drifting RTC while offline? We operate remote "collectors": embedded Linux systems that ...
0
votes
0answers
39 views

Do I Need a PTP Aware Switch?

We have a PTP Grandmaster clock which we will be using on a dedicated network for PTP time synchronization. It is necessary for us to use a switch to distribute the signal to multiple clients. Does ...
1
vote
1answer
483 views

Is it better to use the systemd service unit's Restart & RestartSec, or use a systemd timer unit?

I have a couple of in-house automated scripts running at periodic intervals. One is every five minutes, the other is every minute. They don't really need to be ran on-the-dot; e.g. I don't care if ...
1
vote
1answer
541 views

Websphere MQ - Query view message with long time in queue

I need a query or just a command to see stopped/delayed/waiting messages in a queue, but for long time.
8
votes
3answers
8k views

Kill process with high CPU usage after X time? [closed]

running linux i have a few processes which tend to crash occasionally (game servers), which end up using 100% cpu. I'm looking for a program or script to check the cpu usage of a list of processes by ...
8
votes
2answers
2k views

What is the clock frequency inside 10Gb and 100Gb Ethernet cards?

As I understand, a 10Gb Ethernet card is capable of putting 10Gb every second on (say) a fibre optics cable. Now naively, for this to happen in hardware, one will need a 10GHz clock running the ...
3
votes
3answers
351 views

How to keep the time on multiple servers in sync

I want a cluster of servers to have the exact same time. All are using UTC time zone. Using NTP currently, i still see they seem to be off by 10-20 miliseconds each. Whats the best way to have them ...
4
votes
2answers
4k views

Is it viable to use w32tm /stripchart to judge time variance of two Windows hosts from each other? A better way to discover two host's time variance?

Is it viable to use w32tm.exe's option stripchart to judge the time variance of two hosts (within a very small margin of error)? Note that w32tm.exe's stripchart function is separate than the ...
2
votes
5answers
546 views

Linux clock loses 10 minutes every week

One of my linux server's clock loses 10 minutes every now and then, nearly every week. I update the time so it stays correct, and although it doesn't really bother me, i'd like to fix it. I've been ...
4
votes
3answers
3k views

Allow Facebook access only in specific hours of the day with squid

I've been able to install squid on my Ubuntu Server with basic authentication and everything works perfectly. Recently the boss asked to block facebook access and I did it with no problems. Now it ...
2
votes
1answer
391 views

Real-time clock is wrong (from hours to years), one-time non-monotonic change at boot needed. Can Chrony solve this?

I can't guarantee a sane real-time clock on some machines (the time might be wrong by hours, months or even years). Since I also have intermittent networking, I set up Chrony in the hopes it could fix ...
1
vote
6answers
1k views

Share processor time between computers

I'm a developer and I use lots of applications gadgets. (I WORK ON WINDOWS) I have two computers (HP Dual Core (3.2Ghz) one with 512Mb and one with 1Gb RAM). So I work on both, but when I work I work ...
3
votes
1answer
746 views

Why did my Windows Server 2012 R2 timezone change overnight?

When I logged into my workstation this morning, the timezone had been changed from Eastern to Pacific. In the event viewer I see the following three events, all at 4:12:15 AM. It looks like the ...
0
votes
0answers
30 views

Syncing client and server time for latency comparison

I'm struggling to sync my server's time (an EC2 instance in Dublin) with my local machine. I'm using sudo ntpdate ntp.ubuntu.com to sync my server's time with Ubuntu's time server. I'm then using the ...
8
votes
7answers
4k views

Local or public NTP servers?

For a relatively large network (thousands of hosts) - what are the arguments for and against running a locally managed (pool of) NTP server(s) (perhaps periodically set via some public NTP server) and ...
4
votes
1answer
1k views

Why is the time on my Server 2008 R2 DC wrong? It's syncing to ntp.org, it claims

OK. After a lot of fun with syncing time across my workstations, I got that sorted out. My workstations are now perfectly synced with my Server 2008 R2 Domain Controller (physical server, not ...
0
votes
0answers
179 views

Graylog2 date extractor from tab-delimited file

I have a tab-delimited logs with such messages: 2014-06-01 00:00:56 192.168.1.1 968 http://yandex.ru I can extract date and time with regexp (\d{4}-\d{2}-\d{2}\s*\d{2}:\d{2}:\d{2}) but when I ...
1
vote
4answers
7k views

Superblock last mount time is in the future

Yesterday, I encountered a confused problem. During booting, the system complained that the superblock last mount time is in the future and ask me to fsck. I have used Debian Squeeze for months and ...
-1
votes
1answer
248 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. ...