Skip to main content

Questions tagged [time]

`time` is a command line utility for running another program and summarizing resource usage

0 votes
0 answers
15 views

Timedatectl output does not change after running ntpdate command in Kali Linux

I am currently doing a pen testing CTF challenge on HacktheBox.com (HTB) that involves manipulation of Kerberos TGT tickets so need to sync my local system time on my Kali Linux instance with the ...
Anthony's user avatar
  • 101
3 votes
0 answers
44 views

Linux clock source from FPGA

I'm trying to get the Linux kernel (and system as a whole) to sync to a monotonically incrementing clock from a FPGA register in memory. The clock is 64-bits wide and divided into two 32-bit sections: ...
Ryan Sherlock's user avatar
1 vote
1 answer
67 views

Where can I find the configuration/setting for NTP to explain the specific behavior observed in an NTP client?

I have recently been doing a specific timing analysis of the performance of NTP under controlled conditions.  The experiment I performed was conceptually quite simple.  I have an NTP server running ...
Denis Barkats's user avatar
0 votes
1 answer
49 views

start command at given time interactively in terminal

is there similar command to sleep, but where I can specify given time, so that my command will start at given time, INTERACTIVELY in my current open terminal window? I know about at command, but that ...
Martin Vegter's user avatar
18 votes
6 answers
7k views

How does a Linux operating system stand going back in time (when applying winter time for example)? Going back a second, would it be the same problem?

I'm asking myself after having read on papers that around the year 2035, we, on the earth and our computers by the way, might have to correct our time by one second back to comply with astronomical ...
Marc Le Bihan's user avatar
0 votes
1 answer
278 views

Can I configure tmux to show seconds of current time upon Prefix t?

On Prefix t (by default Ctrl+b t), tmux displays the time, and it looks something like this: Is there any way to configure this, e.g. to show the seconds, too? I tried setting export LC_TIME="%H:...
Vince Varga's user avatar
3 votes
1 answer
74 views

how to format `time` output [duplicate]

I'm using Ubuntu 23.10 x64. The time program has an -f flag but when I run it says -f command not found. time -f "%Uu %Ss %er %MkB %C" ./countwords hamlet.txt I'm trying to get the time ...
Leahcim's user avatar
  • 289
1 vote
1 answer
44 views

Why does /usr/bin/time coupled with GNU parallel output results before command's output rather than after command's output?

Scenario: $ cat libs.txt lib.a lib1.a $ cat t1a.sh f1() { local lib=$1 stdbuf -o0 printf "job for $lib started\n" sleep 2 stdbuf -o0 printf "job for $...
pmor's user avatar
  • 619
0 votes
2 answers
43 views

Speeding up time flow for stability testing

Is it possible to speed up time flow in Linux system? Doesn't matter if virtualized or on bare metal. I need to test if my program could have uptime for ~10 years. So accelerating about 4000 times of ...
Libor Tomsik's user avatar
0 votes
2 answers
4k views

What is the command to change the 'System clock synchronized:' setting from 'no' to 'yes' in photon os

I have a VM running Photon OS 3.0. NTP is not configured and it is using the hardware clock. It has fallen out of sync. The hardware clock hwclock is in sync with the hypervisor time, but when I run ...
Anand's user avatar
  • 1
35 votes
2 answers
3k views

Why is filesystem time always some msecs behind system time in Linux?

In Linux, it seems that filesystem time is always some milliseconds behind system time, leading to inconsistencies if you want to check if a file has been modified before or after a given time in very ...
Alberto Pianon's user avatar
9 votes
3 answers
4k views

Unix time, leap seconds, and converting Unix time to a date

I read many, many posts about Unix time and many say that a day is 86400 seconds. But pages like this talk about leap seconds. And this made me confused. And I read that Unix time is based on UTC, and ...
Okoba's user avatar
  • 93
-3 votes
1 answer
90 views

What is the difference between the ip address with which I access a remote server vs the ip address which is shown in "ip a" command output?

It's bothering me. I'm an amateur at Linux networking so pardon me on that. I've heard terms like NATTED IP from others. But I am not sure what do they mean. A serious issue has arouse. And I need to ...
achhainsan's user avatar
-1 votes
1 answer
128 views

Dualboot | After synced time on windows linux time is wrong

After i synced the windows time my hardware clock time is bad. timedatectl Local time: Sun 2023-10-01 15:38:05 CEST Universal time: Sun 2023-10-01 13:38:05 UTC ...
Lolis4TheWin's user avatar
6 votes
2 answers
1k views

How can I set a time zone on a Linux machine that has only very minimal cmds available?

I have a Linux machine that only has very minimal cmds available on it, for example the /bin looks like this: /bin# ls ash chattr clockdiff dd dumpkmap ...
Henry's user avatar
  • 205

15 30 50 per page
1
2 3 4 5
34