The tag has no usage guidance.

learn more… | top users | synonyms

2
votes
1answer
66 views

Is it possible to read PVclock from user space?

Is it possible to read clocksource xen or kvmclock using some user space tool? Referring to /sys/devices/system/clocksource/clocksource0/current_clocksource. Reading the actual value of the pvclock. ...
1
vote
1answer
48 views

Clock drift in a VirtualBox guest

I've done this command this morning: root@xxx:01:21:17:/home/xxx$ date --set "2015-08-06 02:54" Thu Aug 6 02:54:00 WIB 2015 root@xxx:02:54:00:/home/xxx$ hwclock --set --date="2015-08-06 02:54" ...
1
vote
2answers
32 views

Synchronize the date and time on compute nodes

I want to set a job on compute nodes but I checked and see time and date of compute nodes are not sync with the head nodes. Head node shows: Wed Jul 22 16:57:32 PDT 2015 node 2 shows: Wed Jul 22 ...
4
votes
2answers
408 views

Mysterious “unable to resolve host” in dead.letter

In the ~ directory of the root user on my debian wheezy server regularly appears file named dead.letter with (currently) the following content: orion : Jul 25 10:17:31 : root : unable to resolve host ...
1
vote
1answer
73 views

Cannot access the hardware clock as a non-root user

I try to use the hwclock but I get this output: [arkadi@arkadi-linux /home/arkadi $]hwclock hwclock: Cannot access the Hardware Clock via any known method. hwclock: Use the --debug option to see the ...
1
vote
2answers
50 views

Get Real BiosTime using CentOS 6.x and make permanentely SystemTime = BiosTime [closed]

My first SO is Windows 7, and it is synchronized with Bios Time... Later I installed CentOS, but... I want to have synchronized my CentOS with Windows and Time Bios! I was checking time (before ...
2
votes
6answers
292 views

How to know during system start when system time becomes correct from NTP

I have a Raspberry Pi running Raspbian (Debian derivative) that is recording real-time temperatures. As part of this, I need a clock that is accurate to within a few seconds. In normal operation when ...
5
votes
5answers
1k views

How to get system time with microsecond Resolution

I want to know current system time with microsecond Resolution. date +%s returns Time in seconds since epoch(1-1-1970). How can I get time in microseconds Resolution. How much delay is in querying ...
1
vote
1answer
81 views

Is it possible to speed up my Linux Clock?

Is it possible to modify the Unix Time Clock so that the clock is running ten times faster? Something like a fast-forward by increasing a clock frequency or change the clock tick time? Background is ...
1
vote
1answer
47 views

How do I keep the time on a server (virtual machine) updated over time?

I have a virtual machine running headless in my machine. When I start it for the first time, the result of date command is correct. But after about a day or 2, I SSH into it and the date command has ...
-1
votes
1answer
24 views

separate the system & hardware clock in linux

I want to separate the system clock from the hardware clock which I synchronize first. But now I want to change both: hardware clock with the UTC time & system with the GPS time.
1
vote
1answer
49 views

How to get a UTC clock widget on Awesome WM?

Is there a way to get a second clock widget in Awesome WM displaying UTC datetime, without having to change my timezone?
1
vote
0answers
54 views

How can I consistently tell OpenSUSE to refresh the clock / current time?

I use OpenSUSE in a VM and sometimes want to save the machine and get back to work later. I haven't had much success with hibernate or suspend, so I simply save the state of the machine and resume ...
2
votes
0answers
135 views

KDE5 Digital clock widget show a different time, than the configured

I'm using KDE 5 over Arch Linux, and the digital clock widget show a different time than the configured for kde. The widget can be configured to show a different time changing the timezone for it. But ...
2
votes
1answer
398 views

Automatically update hwclock at boot

We're having a small issue with our Beagle Bone Blacks. Since they do not come with a RTC battery, when they lose power, the hardware clock gets messed up. I need a simple and clean way of syncing the ...
4
votes
1answer
209 views

RTC time synchronization not working (CONFIG_RTC_SYSTOHC)

I have the option CONFIG_RTC_SYSTOHC enabled in my kernel: Device Drivers ---> [*] Real Time Clock ---> [*] Set the RTC time based on NTP synchronization The help says: ...
0
votes
1answer
75 views

script does not execute

I have rPi B+ running ArchLinux with kernel Linux comp001 3.18.6-2-ARCH #1 PREEMPT Sun Feb 8 09:43:43 MST 2015 armv6l GNU/Linux with Real Time Clock hardware RTC Pi. However, I would like to check if ...
0
votes
1answer
90 views

FreeBSD 9.3 date shows UTC when rc.conf and PostgreSQL show “America/Los_Angeles”

We're testing FreeBSD 9.3, where I had the system configured to use America/Los_Angeles as the timezone, and we've got the ntp server pointed at pool.ntp.org. Everything was fine, until I noticed ...
1
vote
0answers
95 views

How do I remove the clock?

In messing around with trying to add an analog clock to the panel, I inadvertently added a second clock. when I right click the panel applet, there is no option to remove the 2nd clock applet. So, ...
2
votes
1answer
226 views

Why does the clock need a shared memory segment?

This is a combination of programming and Linux question but I think it suits better here. I am writing an application that works with ipcs (shared memory segments) and after each running I am ...
0
votes
1answer
152 views

Changing linux config from 32 bit to 64 bit loses RTC

I have a config from a 32-bit linux 3.12.18, and was trying to compile a 64 bit version with most settings like selected drivers etc. the same as in 32 bit version. For this I used make menuconfig ...
2
votes
2answers
184 views

What does the change of the clocksource influence?

The output of cat /sys/devices/system/clocksource/clocksource0/available_clocksource lists the available hardware clocks. I have changed the clocks, without any visible difference. sudo /bin/sh -c ...
0
votes
1answer
621 views

How to move system clock time forward/backward?

I know commands for setting specific time and/or date, but can't find ones which move the time relative to the current time. What are the commands to move the time forward/backward x ...
2
votes
1answer
256 views

system clock is off by one hour after every reboot

Every time I start my laptop, the clock is off by exactly one hour. I have to run ntpdate to fix it. Next time I restart the laptop, it will be off again. I have timezone set up correctly. I am ...
0
votes
0answers
104 views

bash + timer in dialog window

is it possible to insert the following code ( timer ) in the dialog progress bar ? date1=`date +%s`; while true; do echo -ne "$(date -u --date @$((`date +%s` - $date1)) +%H:%M:%S)\r"; done ...
7
votes
3answers
68k views

Linux: set date through command line

How to change the system date in Linux ? I want to change: Only Year Only Month Only Date Any combination of above three
1
vote
0answers
544 views

RTC is not saving time after hwclock

So I'm having quite a bit of trouble trying to get my system to set the hardware clock's time. Here is what I did just now, everything has worked, right? The first and last command seem to indicate ...
1
vote
3answers
3k views

how to disable time sync in VM guest?

I have a desktop (centos 6) that has a VM guest (RedHat 5.5). I just try to set the date to past time in VM guest. And it works. However, after 50 minutes, the time is sync to current time. After I ...
3
votes
1answer
472 views

How to make awesomewm textclock reflect timezone change?

I am using the awful.widget.textclock widget to display the time in Awesome WM on Arch Linux, and I am using a program called tzupdate to automatically update my system time according to geolocation ...
4
votes
1answer
131 views

Unable to synchronize the clocks on a dual boot system

A have a dual boot system: Ubuntu and Arch. Ubuntu was installed first. A while after installing Arch, I've set up its clock because it was 8 behind my current time zone (my time zone is gmt +8). I ...
1
vote
0answers
70 views

How does an X86 Linux system maintain the system time, when no NTP etc. is in play?

When an x86 Linux system is powered up and running, how does it keep track of software time? E.g. is it incrementing a software counter based on hardware interrupts from the RTC, or is there some ...
10
votes
4answers
4k views

How can I measure and prevent clock drift?

On several production platforms we have observed symptoms which appear to suggest that the time of day clock is periodically jumping forward or backward. The jumps are typically around 1 second, ...
1
vote
1answer
562 views

RTC clock time sync with the Linux time on Startup

The RTC remembers its time set, and how does the linux kernel gets this time from dev/rtc and set it as the linux time. In other words on boot up - when does kernel reads the rtc and updates its linux ...
8
votes
3answers
481 views

What could cause the clock to jump by 5 minutes?

I have a (physical) box running a stripped down Ubuntu; every now and then (6 times in 3 months), the clock jumps backwards by exactly 300 seconds (+- 0.01 seconds; always exactly 300 seconds). It ...
2
votes
1answer
439 views

No usable clock interface found

I just finished installing a paravirtualized archlinux guest on xen. I get the following error when my guest boots: [1.185226] i8042: No controller found [1.1247134] drivers/rtc/hctosys.c: ...
3
votes
1answer
1k views

Why a sleep 300 (5 minutes) can last several hours some time? [closed]

I have a MiniMac with the OSX system. My script is: while true do echo "Sleep 300 seconds = 5 minutes" date sleep 300 echo "end of sleep" date done I want it to repeat every 5 minutes; ...
6
votes
1answer
1k views

How exactly is tzdata database used?

Different operating systems seem to handle daylight-saving time(DST) differently. I really like the Cisco IOS approach which is very simple and allows one to change the date and time when DST starts ...
3
votes
1answer
2k views

Unable to use busybox implementation of hwclock

I have a buildroot generated kernel (3.6.11) and root file system running on an x86 device. It uses busybox and I am trying to set the BIOS hardware clock using hwclock. I get this error whenever I ...
3
votes
2answers
125 views

Causing fluxbox to show a different time then the default timezone

I've moved to fluxbox as my default environment on our corporate environment. I obviously can't change the time on the machine. But I'd like the clock to show my local time instead of the machine's ...
2
votes
2answers
98 views

Restore clock after short powerdown for no-network, no-RTC system

I've made a programmable power switch using Raspberry Pi (although this question is not RPi specific - it's more of "generic Linux" with problem caused by hardware shortcomings.) Raspberry has no ...
3
votes
1answer
1k views

How can I set gdm login screen time to 24 hour format?

I installed CentOS 6.4 within VMWare 7 by easy setup. Afterwards I had to change locale settings to German. Everythings works fine accept that the clock on the login screen is still in ...
0
votes
1answer
341 views

Allowing a domain name in my IP Tables

I have a Linux server that gets a time offset for some strange reason. I set up cron job to run and update the time using the following command: /usr/sbin/ntpdate pool.ntp.org The problem is the ...
1
vote
0answers
235 views

Gnome clock on UTC, not local

My OS is Gentoo. My Hardware Clock is set to UTC. The date command returns the correct time and timezone (EDT). However, my GNOME clock is set to UTC. I have 2 clocks, one at Internet Time, and one ...
2
votes
3answers
2k views

How do I prevent time drift in a Debian guest on a CentOS KVM host?

I know I can install ntp in the guest, but my confused understanding of what I've Googled so far suggests this shouldn't be necessary. The Host is CentOS 6.3 and guest is Debian Wheezy, which seems ...
2
votes
0answers
273 views

How to freeze system clock for a wine application? [duplicate]

I have a windows program, that works only to a particular date. It's a legacy application and I can't change the source code. Is there any way to set a specific date in the system clock for the wine ...
3
votes
6answers
10k views

How do I set time and date from the Internet?

How do I retrieve the date from the Internet and set my computer's clock, from the command line?
1
vote
1answer
761 views

Removing Clock screenlet in Linux Mint

I admit the question is kind of stupid, but I honestly can't do anything about this weird issue. I've added a Clock screenlet (with a custom theme) on my desktop and the thing is that I can't remove ...
6
votes
3answers
4k views

Host CPU does not scale frequency when KVM guest needs it

I have asked this question on serverfault, but it could also have been posted here. I will synchronise the answers if one is found. Observation: I have an HP server with an AMD dual core CPU (Turion ...
4
votes
1answer
1k views

Configure kbd and immediately profit of the changes without rebooting

I want to disable consoleblank and activates console clock vcstime which are obviously managed by kbd on my Debian 6. So I've changed the following in /etc/kbd/config file: POWERDOWN_TIME=1 ...
10
votes
1answer
3k views

Different time in Windows and Linux Mint

I installed Linux Mint first on my Acer Aspire 4930 and then dual booted with Windows 7. I see the correct time on Linux Mint but on booting into Windows the time is shifted back by a few hours, even ...