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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
56 views

time nohup ./script --> the time hasn't been logged [closed]

I need to measure the time that Firefox takes to build itself from the source code. Here's what I do normaly: nohup ./mach build > my_log.log & I then prepended time to it: time nohup ./mach ...
Kentuk's user avatar
  • 1
3 votes
2 answers
234 views

Windows Server 2022 Time Service Jumping into the future

A handful of times over the last few months one of our Windows Server 2022 boxes will show a warning in the Event Log similar to this The time service has set the time with offset 19630688 seconds., ...
chris1out's user avatar
1 vote
1 answer
35 views

What data type do big applications use to store time data?

I am trying to find out which data type is better to store time data inside either MySQL or Cassandra database for a big application like Facebook or Instagram? There are a lot of similar questions ...
best_of_man's user avatar
0 votes
1 answer
551 views

Ubuntu 20.04 refuses to sync time with Windows AD, how to trouble shoot?

I am trying to sync a Ubuntu 20.04 client to a Windows AD time server. But time will never sync. Here is what I know so far: Windows server is listening on port 123 for NTP, and replies to requests. ...
Dave's user avatar
  • 209
0 votes
1 answer
334 views

How can the local time clock of a server become the NTP time source in a network?

I want to make a the local te clock in a Stratum 1 server be the network time source for my network (I don't want a Stratum 0 server with the antenna). How may I set this up in a network? Is there a ...
Baldovín Cadena Mejía's user avatar
2 votes
1 answer
357 views

What is changing my Windows Server's date?

At my organisation we have a number of virtual machines on ESXi hosts in a number of sites. For the past few months, around once or twice a week one virtual machine, seemingly at random, will update ...
Mayzed's user avatar
  • 21
0 votes
1 answer
274 views

systemd-timedated.service: Failed to determine whether NTP is enabled: Link has been severed

Encountering this issue with RHEL 7.9 (Maipo). One server in particular is having issues with timedatectl, systemd-timedated.service, and chrony. If we run timedatectl $ timedatectl Failed to query ...
bpaterni's user avatar
  • 121
0 votes
1 answer
228 views

Geting UNIX Timestamp while logging history

I am running below bash script which is saving the history in a file, however it is logging the history with Unix epoch timestamp. I need the timestamp in human readable format. _who_am_i=$(who am i|...
Dinesh Kumar's user avatar
0 votes
1 answer
4k views

Windows NTP Server Registry Configuration

I inherited an environment with a Windows 2012R2 Domain Controller (serverA) set as the NTP server. This server is going to be retired shortly for a new (separate) 2019 instance. The domain controller ...
jrd1989's user avatar
  • 678
0 votes
2 answers
784 views

Timezone with 12h time format (AM/PM)

I have a problem with timezone in debian I need to set up zone with 12h format (AM/PM) throughout the system. Locale set to "en_US.UTF.8", output "date" command is correctly. Time ...
xXx's user avatar
  • 1
2 votes
2 answers
954 views

chrony: hosting time with RTC as authoritative clock on an air-gapped (isolated) system

I have an isolated and air-gapped LAN that I want to synchronise. I have one host that will be the authoritative time server for all clients on the LAN. It's not important that the LAN time reflects ...
davidA's user avatar
  • 383
5 votes
0 answers
999 views

Windows Server sometimes has wrong date

Having a Windows Server 2016 (hosted at Amazon AWS EC2) that is running successfully for years. Since some month I'm experiencing that the Scheduled Tasks (e.g. a task that is configured to run daily) ...
Uwe Keim's user avatar
  • 2,400
0 votes
1 answer
153 views

What was linux/unix time standard before inventing epoch? [closed]

As in the title, I was looking for, but hadn't found. How were time stored and processed before epoch standardizing in 2000?
Piotr's user avatar
  • 11
1 vote
1 answer
442 views

Incorrect PTP timestamps [closed]

I have trouble syncing to Linux systems using PTP. Setup: Two PCBs with a BegleCore module and a DP83640 PHY are connected with each other over Ethernet. One board should act as the PTP master, the ...
11011100's user avatar
  • 111
0 votes
1 answer
269 views

Domain users last logon time on a specific (domain joined) computer

So I have all the once_logged_in profiles listed in C:\Users folder but I need to find out when was the last time these users logged in onto the same computer locally or remotely with their domain ...
Steve's user avatar
  • 11
0 votes
0 answers
65 views

AWS time traveling issues with dhclient

I am a QA software engineer working on integration tests that require changes on the system clock to simulate the pass of the time. When running those tests on AWS EC2 instances I got unexpected ...
grg121's user avatar
  • 101
1 vote
1 answer
396 views

CRONTAB - Summer/Winder Time-Change

Since there can be problems with the time change from summer/winter or winter/summer, I wanted to ask how I could solve the problem within the bash script-2? I think in the winter time it should not ...
Omexlu's user avatar
  • 43
0 votes
0 answers
226 views

Ububut 18.0.4 LTS:- unable to start TCP/UDP discard service on port 9 and time service on port 37

I have ubuntu client 18.0.4, I am unable to telnet localhost on port 9 and port 37. root@ubuntu:~# telnet 127.0.0.1 37 telnet: Unable to connect to remote host: Connection refused root@ubuntu:~# ...
NetworkCode's user avatar
4 votes
4 answers
4k views

Sync ntp immediately at boot with undiciplined clock

I have setup one ntp server and 5 clients. I want to force sync the clients to server clock on boot. With my current ntp settings the computers are syncing but after several minutes. I cannot wait so ...
Sap's user avatar
  • 43
1 vote
0 answers
626 views

chrony time server cannot synchronize with time servers from the internet

My chrony time server with the version: 3.5-6ubuntu6.2, can get the time from another internal time server but not from time servers on the Internet. Could you please help me to synchronize my chrony ...
tom's user avatar
  • 29
1 vote
0 answers
604 views

PPS Integration with chrony

I am trying to get chrony to ingest a PPS signal to compare against just an NTP server. The PPS signal is recognized when I do ppswatch and ppstest, but when I do chronyc sources, the LastRX field ...
bchang32's user avatar
0 votes
1 answer
1k views

Windows Server VMs have incorrect time on boot (Esxi 6.7.0 Update 3)

We run ESXI 6.7.0 Update 3 (Build 14320388). The Windows 2019 VMs running on that host, when they boot, their time is incorrect. I have to manually open the Windows settings and set off and back on ...
Alex K.'s user avatar
  • 41
0 votes
1 answer
1k views

PowerShell: How to check a recurrent week time interval?

I need to create a PowerShell script, able to collect some data at each minute. However, this script cannot run during the "technical windows", that are scheduled to occur at the same week ...
Adans Jirschik's user avatar
-1 votes
1 answer
338 views

How to change time on local NTP server and distribute to others? [closed]

Is there any solution to retrieve time from a NTP server and change time locally (Increase or decrease) and then distribute new time to other servers? As an example, server retrieve UTC time and ...
Davoud Teimouri's user avatar
0 votes
1 answer
99 views

Linux DST - 25.10.2020 - change did not occur - old linux bug?

we have a strange problem on older linux kernel embedded devices that still uses /etc/tz and $TZ for setting the timezone and dst Our TZ variable has value: 'MET-1MEDT,M3.5.0,M10.5.0/03:00 And ...
Lonko's user avatar
  • 115
0 votes
2 answers
118 views

How to name a folder with today's date and time?

So i have this lil .bat setup @ECHO OFF echo %date% Copy D:\000Back\list.txt D:\111Back\ CD D:\111Back\ copy list.txt %date%_%time%.txt ECHO done PAUSE The second copy command never goes through, ...
Csupi's user avatar
  • 1
0 votes
2 answers
266 views

Is it possible to have user time > wall time? [closed]

I have obtained the following results from executing a script: real 0m1.027s user 0m1.752s I understand that: Real time is the wall time. This is the time I would have obtained if I have measured ...
franncapurro's user avatar
0 votes
1 answer
5k views

Redhat Enterprise Linux 7: How to disable DST - Daylight Saving Time

We have 16 Linux RHEL 7.5 servers in a cluster and servers are sync with crony service to NTP server We have two questions How to know if DST is configured on our servers? How to disable the DST on ...
King David's user avatar
1 vote
1 answer
451 views

Centos Linux stuck in time

Has anyone seen the Linux time being stuck, it has been driving me nuts since yesterday. # date Thu Apr 2 16:35:04 UTC 2020 # date Thu Apr 2 16:35:04 UTC 2020 # date Thu Apr 2 16:35:04 UTC 2020 # ...
Christian's user avatar
3 votes
1 answer
2k views

Subsequent calls to WMIC return a localdatetime with a deviating timezone

The problem In our company environment we use several batch files which use WMIC to retrieve the current time. Usually to print it to log files, but also to include the timestamp in a file name. ...
Alex's user avatar
  • 33
1 vote
0 answers
3k views

linux + understanding Chrony logs and conclusions from logs

we are using chrony service in order to sync linux clients to NTP server in our cluster since we get diff time between machines we enable the chrony logs to understand the reasons that machines in ...
shalom's user avatar
  • 461
0 votes
0 answers
22 views

Centos NTP time skew alerts [duplicate]

I have a couple of NTP Stratum 2 servers, and these are in sync with a Stratum 1 GPS appliance, and also peered between them selves. I would be interested in creating a job, which will create an alert ...
Mus's user avatar
  • 21
1 vote
0 answers
38 views

One RDP session time off by 6 minutes compared to server time

We have a customer with a Server 2008 R2 Remote Desktop Server. When we log onto the server via RDP as User1, the time in the RDP session matches the time of the server. When we log onto the ...
Chris Vesper's user avatar
2 votes
0 answers
663 views

Local GPS clock is marked as falseticker by ntpd — why?

I have a Linux NTP server with a ublox M8Q GPS module connected via GPIO (UART @ 9600bps and PPS). What I observe is that the local GPS source — SHM(0) — gets marked as falseticker and I'd like to ...
NPE's user avatar
  • 679
0 votes
1 answer
144 views

Convert date and time from output

I have a file with date and time on a couple thousand lines. I need to convert: 2019/08/02-01:23:50+0000 To: 02/Aug/2019-01:23:50 +0000 I so far have th=`grep ...
Ron Russey's user avatar
32 votes
1 answer
4k views

Why is the year in this ISO timestamp not 2019?

For a simple app I'm using to test a devops pipeline I'm outputting the start time of a build to the homepage. On my development machine the year of the ISO-8601 timestamp I expect, 2019, is printed (...
trycrmr's user avatar
  • 443
0 votes
0 answers
375 views

Machines experience time offset despite chronyd service running

we have 3 machines in the cluster ( redhat 7.2 ) linux_machine1 linux_machine2 linux_machine3 the machines time are like this Sun Sep 1 13:54:20 UTC 2019 - linux_machine1 Sun Sep 1 13:34:15 UTC ...
shalom's user avatar
  • 461
0 votes
0 answers
446 views

Manually change the time in CentOS 7 forwards and backwards

I want to do tests with some time based applications. I want to set the system time 3 days in the future or 5 years in the past. CentOS 7 is not allowing me to do this. Both commands below work, ...
Subzero123's user avatar
-1 votes
1 answer
973 views

understanding windows time configuration

I wish to set external time source for all Vms and HyperVs in several domains. Most of the systems are windows Server 2012 R2 or Server 2016. I have been reading a lot of explanations and I somehow ...
CanBuyukburc's user avatar
2 votes
1 answer
37 views

Local x Server processing time (only CPU)

I'm having some HUGE differences on running time when comparing local x server processes. Our laboratory has a dedicated server running Ubuntu 14 LTS as OS and PBS for Job scheduling. In total, there ...
Pedro Narloch's user avatar
0 votes
1 answer
523 views

Inconsistent elapsed time for mysql/mariadb query

Checking the elapsed time for a database query for munin monitoring,I have created a script, the time measurement part being: start=$(sed 's/^0*//'<<< `date +%N`) /usr/bin/mysql -u 3da_d9 -p*...
mbrampton's user avatar
  • 311
2 votes
1 answer
4k views

filtering event logs with specific TIME range of ANY day

How can I query windows server events between two times of any day? I have tried with PowerShell... Get-EventLog -Logname xxxx -After 04:00:00 -Before 04:00:30 ...but just returns today's events
jreinap's user avatar
  • 23
1 vote
1 answer
371 views

Server 2016 Session time limits for specific users

I am aware you can set session time limits for all idle/disconnected users on Server 2012/2016 etc, however I was wondering if there is a way to end disconnected/idle session only for some users and ...
Brett's user avatar
  • 11
1 vote
0 answers
480 views

rsync --link-dest. Time to 'building file list" incrementing

I've been running rsync as a cygwin task on Windows Server 2008 for about two months now. I'm using the --link-dest option to do a daily 'snapshot' of the contents of a server containing about 10TB ...
John Simpson's user avatar
0 votes
3 answers
646 views

Properly setting date on Linux machines

I am trying to set the system date on my linux machine. If it matters, it is an Amazon EC2 machine that I provisioned. I tried to set the date with this command: sudo date -s "19 APR 2018 11:14:00"; ...
Lorenzo Engelbert's user avatar
4 votes
0 answers
2k views

Why did w32tm /resync cause it to correct itself, then overshoot?

Background: My LAN's Windows Server 2012 R2 Domain Controller had been running without any external time server for a few years and I finally synchronized it now. It had been running about 2 minutes ...
Dai's user avatar
  • 2,271
0 votes
3 answers
3k views

How do I change the date in Google Cloud Container-Optimized OS?

I try to set date: sudo date -s "28 OCT 2018 15:00:00" but before I need to disable NTP timedatectl set-ntp false Google Cloud Container-Optimized OS doesn't have timedatectl util -bash: ...
user avatar
1 vote
1 answer
452 views

CRON messages being delayed for arbitrary long time in syslog

I found in a few servers's syslog that some of the CRON related messages are written in a wrong time, like the following: Aug 21 06:26:01 hty-controller CRON[30159]: (root) CMD ( python /.../...
Zhaohui Yang's user avatar
1 vote
0 answers
327 views

NTP does not update until after I poll it

I have NTP setup to run with GPSd and all is well. The issue arises after about a week of my raspberry pi being disconnected, NTP will trust the old date on the system clock. Since the GPS takes a ...
Chaos's user avatar
  • 111
8 votes
2 answers
1k views

linux system time temporally jumps

I saw a strange system time changing behavior in some (hardware) servers: in /var/logs/syslog, the date time preceding each log message sometimes change to a random one and gets back to normal in the ...
Zhaohui Yang's user avatar

1
2 3 4 5
10