2022 Developer Survey is open! Take survey.

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
23 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|...
user avatar
0 votes
1 answer
174 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 ...
user avatar
  • 578
0 votes
2 answers
66 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 ...
user avatar
  • 1
1 vote
2 answers
75 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 ...
user avatar
  • 353
2 votes
0 answers
151 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) ...
user avatar
  • 2,330
0 votes
1 answer
44 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?
user avatar
  • 11
1 vote
1 answer
115 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 ...
user avatar
0 votes
1 answer
49 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 ...
user avatar
  • 11
0 votes
0 answers
20 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 ...
user avatar
  • 1
1 vote
1 answer
168 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 ...
user avatar
  • 43
0 votes
0 answers
108 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:~# ...
user avatar
4 votes
4 answers
3k 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 ...
user avatar
  • 43
1 vote
0 answers
314 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 ...
user avatar
  • 19
1 vote
0 answers
395 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 ...
user avatar
0 votes
1 answer
629 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 ...
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 ...
user avatar
-1 votes
1 answer
167 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 ...
user avatar
0 votes
1 answer
52 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 ...
user avatar
  • 115
0 votes
2 answers
47 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, ...
user avatar
  • 1
0 votes
2 answers
63 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 ...
user avatar
0 votes
1 answer
2k 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 ...
user avatar
1 vote
1 answer
284 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 # ...
user avatar
3 votes
1 answer
1k 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. ...
user avatar
  • 33
1 vote
0 answers
2k 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 ...
user avatar
  • 451
0 votes
0 answers
20 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 ...
user avatar
  • 21
1 vote
0 answers
34 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 ...
user avatar
2 votes
0 answers
497 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 ...
user avatar
  • 669
0 votes
1 answer
133 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 ...
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 (...
user avatar
  • 443
0 votes
0 answers
125 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 ...
user avatar
  • 451
0 votes
0 answers
183 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, ...
user avatar
-1 votes
1 answer
830 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 ...
user avatar
2 votes
1 answer
31 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 ...
user avatar
0 votes
1 answer
430 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*...
user avatar
  • 161
2 votes
1 answer
3k 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
user avatar
  • 23
1 vote
1 answer
92 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 ...
user avatar
  • 11
1 vote
0 answers
387 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 ...
user avatar
0 votes
3 answers
471 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"; ...
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 ...
user avatar
  • 2,251
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
365 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 /.../...
user avatar
1 vote
0 answers
283 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 ...
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 ...
user avatar
2 votes
4 answers
23k views

Domain Controller time won't sync with NTP server

I'm having a problem with a domain controller which won't sync with a time server. I've tried everything I can think of and I've already googled many fixes, but nothing seems to work. This is a ...
user avatar
  • 525
0 votes
1 answer
448 views

How to reduce "Connecting Time" reported by GTMetrix?

I've a cloud instance with Linode running CentOS 7.2, PHP 7.1, Nginx & Wordpress (latest version). 1 CPU + 2GB RAM. While checking GTMetrix stats, Connect time is showing as 127ms. I'm trying to ...
user avatar
  • 63
1 vote
0 answers
2k views

Ubuntu Server 18.04 taking very long to boot up

I've installed Ubuntu Server 18.04 as a VM to use as a web server and it's taking very long to boot up. During the booting process 100 seconds go by without any notice of what's happening and then the ...
user avatar
4 votes
2 answers
877 views

How to do proper VPS timekeeping?

I'm configuring a VPS to log some time-series online data and I notice that the time is off. I'd like to have better than 10 second precision on this. I read somewhere that VPS timekeeping is ...
user avatar
  • 143
0 votes
1 answer
30 views

Process start time and running time do not match

We have a situation where times present by START TIME and TIME presented by "ps" are not matching. When I say matching I mean - TIME shows that a service is running longer than it actually is. ...
user avatar
  • 101
-5 votes
1 answer
152 views

Time on Windows servers out and won't stay corrected

I have a bunch of windows servers that are VM's running on a group of hypervisors, all in a domain environment. Its a mix of Server 2012 R2 and Server 2016 For some reason the clock is out by about 7 ...
user avatar
  • 525
1 vote
2 answers
2k views

Why is my internal clock always 1.3 seconds off?

I ran w32tm /stripchart /computer:time.windows.com just for fun and found out that my clock is 1.3 seconds behind this timeserver. Not that I think Microsoft is wrong, but I tried it with various ...
user avatar

1
2 3 4 5
10