Questions tagged [clock]

The tag has no usage guidance.

0
votes
1answer
11 views

How to manually set CPU clock frequency in Fedora?

I have a first generation i7 computer and it is prone to overheating. How can I set the CPU clock frequency in Fedora?
-2
votes
1answer
46 views

Prevent the debian installer from assuming that my RTC is using localtime

I've just installed a debian system, and just like the last time 10 years ago, it has b0rked my machine by assuming that my real time/hardware clock was using localtime, despite me not having told it ...
0
votes
0answers
56 views

How do I rearrange the clock tree to get the clock I need?

I am using a LVDS display on an i.MX6 DualLite. The panel is supposed to be running at a clock of 51.2MHz. I am in the process of updating to a newer Yocto (Pyro) built BSP running 4.14.16. The ...
0
votes
1answer
56 views

Big clock on whole screen in centos-7

I was going to write command tmux detach but I accidentally pressed some other key/ key combinations and saw a big clock on the whole terminal. There was just time printed and nothing else. I don't ...
3
votes
1answer
30 views

Should I set the time in a container?

I have a few containers (systemd-nspawn based) and I am wondering whether I should set up the time (via systemd-timesyncd) or is it maintained by the host?
2
votes
1answer
71 views

wrong time at Ubuntu 16.04.1 LTS

I have VM with Ubuntu 16.04.1 LTS, and time is wrong. The difference is about 15 hours. I synchronize it via sudo ntpdate 1.ro.pool.ntp.orgevery day and then it becomes right, but next day I have this ...
0
votes
1answer
656 views

Chrony client do not change system and hardware date

Context Centos 7 chronyd (chrony) version 3.1 Issue I am encountering an issue with chonyd and server date. First, change current date to old date I changed the hardware clock date from the ...
0
votes
1answer
44 views

How to get a working clock on Debian 9? Clock is wrong by a couple minutes

How to get a working clock in Debian 9 with KDE? My clock is almost 10 minutes slow on multiple of my machines running Debian 9 with KDE and (re)setting the timezone via tzselect didn't work. (I ...
0
votes
1answer
35 views

system clock is wrong when I boot in to any one of the OS in my dual boot ubuntu-windows setup

I have a dual booted laptop with windows and ubuntu installed side by side. whenever I boot in to any one these operating systems, the system clock shows the time I booted in the said OS last time. ...
-1
votes
1answer
46 views

Since which version does linux support system clock with nano precision?

We are using centos7 and with the date command we came to know that system clock support nano precision. date +"%s %9N" 1537941601 130559008 So, we were to know that from which version did linux ...
2
votes
1answer
1k views

How do I permanently sync the system clock with the hardware clock?

I have a cronjob running that checks for server updates, installs them one by one, and then checks if a reboot is needed. If a reboot is needed, the script will reboot the server. The hardware clock ...
2
votes
0answers
244 views

Time measurment in Linux kernel: how are clock_gettime, gettimeofday and getrusage related?

I am trying to understand how time is measured by the Linux kernel. I tried to go through the kernel code, but I miss the big picture to understand the code that I'm reading, even if this article ...
3
votes
1answer
3k views

What is /etc/timezone used for?

On my Manjaro linux box, I have a file /etc/timezone which contains: Asia/Bangkok Another Manjaro forum user also has the same file. That thread on the whole contains some prior art on this question....
1
vote
0answers
19 views

Trigger some action on system clock change?

I would like to have something occur - say, I would like to run a certain script - whenever the system clock is adjusted (hardware clock and/or offset from hardware clock, including the timezone). ...
1
vote
0answers
75 views

What are the possible cause of “__rtc_set_alarm: err=-22” error message in dmesg?

What are the possible cause of "__rtc_set_alarm: err=-22" error message in dmesg? I am seeing this in my log files but I do not try to set the alarm or schedule it anywhere.
2
votes
1answer
319 views

Hardware and system clock gets offset by roughly 7 minutes on each boot although locale and time zone are correct

On each boot into Arch, I see that the time is off by a few minutes. The RTC time is off (as far as I understood, it has "drifted".) and affects the hardware clock. $ timedatectl status ...
2
votes
2answers
776 views

Change default sounds of gnome-clocks app

I'm use gnome-clocks for its timer option. This app is very simple and effective. But I can't change the default sounds of the alarm and the timer. I tried setting the configurations in dconf and ...
0
votes
1answer
338 views

How do you hardcode the format of sudo hwclock

Hey there so I just received a new RTC for my Raspberry Pi. When I run this command: sudo hwclock The output looks like the following: 2018-01-08 13:06:5.441956+0100 But, on my other Raspberry Pi ...
1
vote
1answer
750 views

Lubuntu 17.10 login screen has a white font clock

I noticed that my Lubuntu's clock in login screen has a white font clock. I do not know why but no matter what I do it won't change. I tried resetting the panel and configuration files of LXDE, but ...
1
vote
1answer
143 views

Why is the number of ticks inaccurate?

I checked the numbers in proc/stat to the the number of clock ticks the CPU has had and I saw that the sum of the numbers in CPU1-4 is not equal to the numbers written in front of CPU as a whole. Why ...
0
votes
1answer
107 views

RTC management in desktop and embedded environments

When working on an embedded environment (current one: Raspberry Pi with Debian Stretch) with an external RTC module (i.e. DS1307) I have to manually keep in sync both system and RTC clock. This can ...
2
votes
1answer
963 views

Clock instability in Debian 9 (stretch)

I have a machine running Debian 8 (jessie) downgraded to kernel 3.2-rt. This is running an application which is set to realtime priority (SCHED_RR), wakes up every 1ms to do some processing, and ...
1
vote
1answer
920 views

Manually setting date time in Lubuntu does not update the hardware clock

Lubuntu is not changing the bios date-time when I set the date-time manually using the Time and Date Application. Due to which, when I reboot it synchronises the time with the wrong time in bios. I ...
1
vote
0answers
145 views

Check for clock skews on machines where I can only submit jobs

I need to check for a clock skew in many remote machines. What is the best way to check for a clock skew on a Linux machine? I don't need to sync clocks, just to check how accurate it is. I don't ...
2
votes
1answer
705 views

Invalid time on FreeBSD

Problem My FreeBSD is always 2 hours behind when I'm offline although my BIOS clock shows the UTC time and my time zone is set to CET in /etc/localtime. I'd like FreeBSD to look at the clock in BIOS,...
0
votes
1answer
1k views

No such schema 'org.gnome.shell.clock' error

The command that I am trying to run is: gsettings set org.gnome.shell.clock show-date true but then I get the message saying No such schema 'org.gnome.shell.clock' error I don't know why this is? I ...
0
votes
1answer
2k views

How to change date/time format Linux gnome? [duplicate]

I have installed Gnome on my Linux 18 mint and I see the time at the top says: Basically it says Sun May 7, 00:26, and I would like for it to say May 7, 2017 | 12:26 AM. I remember being able to ...
1
vote
1answer
433 views

11 minute mode when more than 30 minutes out of sync

In ntpd the kernel copies the system time to the hardware clock every 11 minutes. However, if the system time and hardware clock are more than 30 minutes out of sync this copy does not happen and the ...
2
votes
1answer
1k views

Is there any way to adjust the clock granularity under tmux?

It seems like, by default, the tmux status bar clock granularity is set to 2s, however it would be nice to be able to bring that up to a one-second granularity. Is there any way to set the ...
1
vote
1answer
507 views

Why 'hwclock' command applies a positive offset for local time, while the 'date' command applies a negative offset?

I am having some problems working with timezones. Can someone please explain these results to me? Why does the hwclock command apply a positive offset for local time, while the date command applies a ...
3
votes
2answers
329 views

Slowdown the system clock in Linux server

I have Centos server, in which I don't want to jump back the time to one hour during time change. instead I want to slow down the system clock few hour before the time change so that when the time ...
1
vote
2answers
271 views

How to revert date?

I changed the system date using the following command in Ubuntu: date -s="1999/01/01 12:34:56" Now, I want to revert the date call so the date is correct again. What should I do?
1
vote
1answer
62 views

Digital clock in Lubuntu 16.04 shows one hour more under CET ZT

The digital clock is synchronized with internet servers, set to Europe/Madrid ZT (i.e. CET), but shows one hour more, at the time of posting this question it is 20:31. I've tried to remove and add it ...
0
votes
1answer
463 views

'Function not implemented' nouveau clocking

I have a NVidia GTX 580 running under nouveau. It is currently running at 03 (the lowest state). However, when I try to change the clock rate to any setting, including the original state 03, it fails. ...
0
votes
1answer
1k views

Linux Mint clock is sometimes wrong, sometimes fine

I'm running linux mint on an asus laptop. Throughout multiple installs of linux (always mint, but different environments), the clock is always wrong sometimes. It's not off by an even multiple of an ...
0
votes
1answer
282 views

How to enable the clock after removing it from the taskbar in XFCE?

My clock was off so I decided to remove it, change the settings, and put it back in the right-hand corner on the taskbar, but I can't seem to be able to do that after removing it. I searched in the ...
0
votes
1answer
870 views

hwclock for non root user

How to make a non root user to view the hardware time other than hwclock command in centos 7 My requirement is to make a non root user to view the time alone
7
votes
2answers
11k views

How to change the Gnome panel time format?

Gnome panel displays the time with 24hrs format but I want to change it to am/pm.
1
vote
1answer
465 views

xclock with nanosecond (or fractional second) resolution

I currently run: xclock -digital -update 1 -strftime '%a %d %b %Y %H:%M:%S' and am reasonably happy with the resulting xclock, but don't find it quite annoying enough. Is there any way I can add ...
1
vote
0answers
30 views

Is it possible to change the clocking for an audio codec from Linux (userland or driver)?

I have an i.MX6 evaluation board with an audio codec from Cirrus Logic (WM8958). The board also supports PTP hardware clocking. Is it somehow possible to change the reference frequency for the audio ...
1
vote
0answers
171 views

Display all declared clocks and their frequency

I would like to know how to display all clocks and their associated driver in Linux. It is possible to do it by looking at the device tree file but I was wondering if there is a sysfs entry that ...
3
votes
0answers
395 views

How do I actually make use of the kvm-clock clock driver?

According to copious sources, the KVM clock driver is loaded as shown here: cat /sys/devices/system/clocksource/clocksource0/current_clocksource These sources all seem to think that this ...
2
votes
1answer
3k views

Why don't Linux utils use a system call to get the current time?

I'm really trying to understand why our guest VMs aren't using the kvm-clock driver "like they're supposed to". They're running RHEL 7.2, glibc-2.17, kern 3.10.0. Programs such as date and perl -e '...
1
vote
0answers
2k views

Linux set hardware clock in UTC and system time in local time

Due to some reasons, I have to remotely set hardware clock time in UTC and system time in local time. My OS is OpenSUSE 13.1 and my tool is only the hwclock command. What I do so far: 1. Synchronize ...
0
votes
1answer
561 views

RedHat + what is the variable ARC in the /etc/sysconfig/clock file

from redhat doc we can see the following: The /etc/sysconfig/clock file controls the interpretation of values read from the system hardware clock. ARC=, where is the following: false or no — This ...
0
votes
2answers
488 views

red hat Linux + UTC properties and hw clock

from redhat documentation The /etc/sysconfig/clock file controls the interpretation of values read from the system hardware clock. UTC= where is one of the following boolean values: true or yes — ...
3
votes
2answers
652 views

how does the gnu coreutils `date` work? [closed]

I did not see any similar questions on this site. The manpage, while helpful in describing how to use date, did not have much background info. Even the info page (as prescribed in the manpage: info '(...
1
vote
1answer
967 views

rtcwake not working on Ubuntu 14.04 installed on MacBook Air (mid 2012)

I have installed Ubuntu 14.04 GNU/Linux on a MacBook Air (mid 2012). I'm trying to use rtcwake to implement a "delayed hibernation from suspend", as in https://askubuntu.com/a/33192 (the particular ...
0
votes
1answer
288 views

Is clock_getres the proper function for obtaining the resolution for Ubuntu 16.04 clock_gettime()?

Is clock_getres the proper function for obtaining the resolution for Ubuntu 16.04 clock_gettime()? If it is , how do I use the result to do this calculation? 64 bit integer has 15 base 10 digits of ...
3
votes
1answer
105 views

PC with short-lived RTC battery - how to immediately time-sync on boot and avoid time jumps

I've got a 64-bit Intel PC running Debian 8 with a capacitor-based clock, which means after 3 days without power the time is lost from the hardware clock. To help work-around this, I was thinking we ...