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.
484
questions
14
votes
2
answers
91k
views
date: cannot set date: Operation not permitted [duplicate]
I have received an interesting problem during I tried to set my Server time either with NTD or manually using date command.
First of all I have tried to use NTD. I have succesfully installed the ...
1
vote
1
answer
4k
views
Cannot change date/time on virtualized centos install without a reboot
I have a dedicated web server which is running centos with xen virtualization that has centos installed on the vm. I do not have access to the parent server, I can only manipulate the vm, of which I ...
0
votes
1
answer
723
views
How to change the current time inside apache and mysql from shell in ubuntu?
I need to test my backend with different times without change the code.
0
votes
1
answer
732
views
Review of a crontab script to add timestamps to minutely runs; any suggestions?
I've got a crontab job set to run minutely as such:
* * * * * /home/username/public_html/domain.tld/production/scripts/cron_runner.sh
My goal is to add some timestamps to output from cron so I can ...
1
vote
1
answer
2k
views
KVM guest clock sync with host
I'm running KVM w/ centos 6.x.
My guest vm clocks are booting with a 1-2 second lag from their host. My clocksource for the host is ntp. My clocksource for the guest is "kvm-clock", but I need to ...
3
votes
1
answer
1k
views
Linux date translation to different time zone
The Linux server is hosted in EST timezone. But I want to translate the output of date command to IST(Indian Standard time +5:30 hrs) format and use it in a shell script. Is there any option available ...
0
votes
1
answer
574
views
Set system time using SNMP?
Is it possible to set system time on Windows Server using SNMP?
So you push out the time instead of using NTP
1
vote
3
answers
38k
views
How to set hwclock to UTC?
The times on my arch linux workstation got messed up, so I set the system time with date and then the hardware time with
sudo hwclock --systohc --utc
Now the hwclock gives:
Do 04 Apr 2013 14:12:48 ...
0
votes
1
answer
340
views
CentOS 6 recompile PHP and Freetds
I got something wrong with the default freetds (v 0.9.2) in my CentOS 6, reading the datetime from sql server is messed up in using mssql (dblib) extension, and it's said recompile php with current ...
6
votes
2
answers
37k
views
Is it viable to use w32tm /stripchart to judge time variance of two Windows hosts from each other? A better way to discover two host's time variance?
Is it viable to use w32tm.exe's option stripchart to judge the time variance of two hosts (within a very small margin of error)? Note that w32tm.exe's stripchart function is separate than the ...
0
votes
2
answers
2k
views
Why my server request takes 28 Second to get response?
I have a Wordpress website on a Godaddy server having at http://kerala.letmeshare.org.
When I request to get this website this takes almost 28 sec to get reply.
Because of this I made a complete ...
4
votes
2
answers
2k
views
Ntpd excessively inaccurate
I have ntpd set up (Meinberg ntp-4.2.6p5@london version for Windows on a Windows 7 client) with a bunch of nearby servers selected for low ping times (usually 10-20ms ping). However it seems my clock ...
2
votes
1
answer
4k
views
Real-time clock is wrong (from hours to years), one-time non-monotonic change at boot needed. Can Chrony solve this?
I can't guarantee a sane real-time clock on some machines (the time might be wrong by hours, months or even years). Since I also have intermittent networking, I set up Chrony in the hopes it could fix ...
3
votes
2
answers
26k
views
Setup of NTP on Hyper-V servers
I am having problems with NTP setup on our Hyper-V host and clients. I am not using Domain Controller (almost all advise is given for DC's which I am not using).
On all servers I have used the ...
1
vote
1
answer
1k
views
Linode Fedora shows an incorrect time
My fedora 17 linode VPS shows an incorrect time.
The current real time in Dublin is 15:13 but my linode shows the time below which is out by 3 hours and 45 minutes:
cg@lin:~$ ls -l /etc/localtime
...
2
votes
2
answers
2k
views
disk bytes/s read and write
I'm trying to figure out how to count read and written bytes per second.
At the moment what I'm doing is I read the data from /proc/diskstats which looks like this:
202 0 xvda 80702313 1132334 ...
3
votes
1
answer
6k
views
Setting Shoretel phone time correctly with dhcpd
Our Shoretel 230 phones are not picking up time service correctly and thus, the time on the display is wrong. When I go to the diagnostics of the phone, they are using a wrong time server (old).
Here ...
4
votes
2
answers
986
views
How do I make all Xen guests use their host clock value?
I've set up Xen server under Linux with several guests running, and all was well. After some time I've noticed the clock on the server drifted away, so I installed 'ntpd', and the clock was back to ...
6
votes
1
answer
3k
views
Use shell built-in time while checking exit status of a function and suppressing output
I am attempting to do the following in a bash script and am wondering if it is possible:
Time the output of a command (in this case, mysql) using time
Suppress the stdout output of the command
...
-4
votes
1
answer
361
views
linux + change/edit file without effecting on file date [closed]
I want to edit some file in my linux for example
ls -ltr /etc/some_file
-rw-r--r-- 1 root root 188 Jul 1 2010 sysstat
.
echo "Server101_IP=187.0.98.4" >> /etc/some_file
.
I expect ...
-1
votes
1
answer
513
views
I need a script to lockdown the system time to users via gpedit.msc [closed]
I need to lockdown the system time on a number of PCs via gpedit.msc and then removing administrators from the group and then adding 'administrator' and 'polling'. Can I do this via a script?
...
0
votes
2
answers
215
views
How to do safely test Biztalk app by manipulating the Windows OS system time w/o breaking the Active Directory?
i have a biztalk - window service tied middleware application which talks to other system.
recently we had a request to test for scenarios which relates to the date.
as we have a lot of places in ...
1
vote
3
answers
2k
views
Sync clock on Windows XP machine to external (non-domain, non-workgroup) Windows Server 2008 R2 machine
I have two machines and I'd like their clocks to be in sync for various reasons. Machine 1 is an XP machine located in the office. Machine 2 is a VPS hosted by a third party running Windows Server ...
2
votes
1
answer
2k
views
Time issues on the Network -- How to find the Root Cause
A number of application servers started erroring out in my domain. Troubleshooting led me to a missconfiguration of NTP. I fixed the issue, but I don't know how the issue arose in the first place.
...
3
votes
3
answers
1k
views
Adjusting Windows time drift without internet on Windows Server 2003
I have Windows Server 2003 on a local LAN that has no internet connection, and need somewhat accurate timing.
Unfortunately currently Windows loses about 1-2 minutes every week, which is why I have ...
0
votes
1
answer
226
views
I changed time zone on DB & Web Server. Now SMTP sending is delayed
Both web & DB servers are running Windows Server 2008 R2.
They are instances in the same datacenter at Amazon EC2.
I changed both servers from central to eastern time zone using the windows GUI.
...
8
votes
1
answer
2k
views
Changing time or offsetting it in OpenVZ contained server
I am trying to run a VPS, a Debian box contained in an OpenVZ container. Obviously, I cannot use time --set or any such command, as the time must be set via the parent node. The owner of the parent ...
2
votes
1
answer
594
views
Users changing date/time from BIOS
We have around 350 Windows XP PC and a Windows 2008 R2 Server. The problem is that some users are changing the date/time from BIOS and the next user who would try to log-in on that PC would get the ...
5
votes
3
answers
2k
views
Dell T710 time issue, clock loses time every day
I have a Dell T710 here at work that for some reason will not keep proper time. Its a dual quadcore with 32GB ram and runs Windows 2008 R2. Instead of Having multiple servers we run a few virtual ...
22
votes
2
answers
20k
views
What is the clock frequency inside 10Gb and 100Gb Ethernet cards?
As I understand, a 10Gb Ethernet card is capable of putting 10Gb every second on (say) a fibre optics cable. Now naively, for this to happen in hardware, one will need a 10GHz clock running the ...
6
votes
3
answers
1k
views
how to cause linux system datetime to run faster than real world datetime?
Background
I want to observe a running Linux system over several days for testing verification. It's a gentoo build and with custom software on top. The custom software requires various services and ...
1
vote
1
answer
861
views
Disabling Host-to-Guest time sync in EC2 windows
In an EC2 instance (Xen Virtualized) is it possible to disable time sync on a Guest VM by Host VM.
I found that it can be done on Linux instance by modifying xen.independent_wallclock=1
Is there any ...
1
vote
1
answer
143
views
Is it safe to change the time on hosting VM server?
So, I noticed there's about a 10 minute drift on my VM hosting server from what time it's supposed to be. In traditional environments, I would just restart the system (and change the BIOS time if ...
11
votes
6
answers
2k
views
Replacing sick NTP server source and re-synching (with internal time currently 2 minutes late)
One of the external NTP servers (the primary one--currently) we're using as source seems to not be responding to NTP calls. Unfortunately, on our core router (Cisco 6509), the NTP functionality hasn'...
1
vote
1
answer
6k
views
Domain Controller/Active Directory Time is 5 minutes slow
Our Domain Controller/Active directory Windows 2008 server is running 5 mins slow, so all the client PCs are also showing the slower time.
Is it safe to change the time on the server? And while the ...
2
votes
1
answer
333
views
How to correct time on Windows PDC server without affecting logons
I know how to set an authoritative time server in Server 2008 R2. That's not what this question is. I want to know how I can change the time on a network where the PDC (and therefore everything) is a ...
2
votes
1
answer
1k
views
2 servers, times always go out of sync
I have 2 servers set with the same timezone and I set them with the same time and I have them both updating their server time from the same internet time source.
But each week they seem to fall away ...
1
vote
1
answer
4k
views
Ubuntu 12.04 - Change rsyslog to use EDT|EST instead of UTC
Right now, I have rsyslog handling a log for a PHP app. Well...I have PHP using rsyslog to do the logging. Currently, it logs time in UTC. I want it to log in EST/EDT as appropriate. How do I make ...
2
votes
1
answer
462
views
Busy Debian server (Xen guest) seems to go to sleep (energy saving mode)
I have a Debian 6 Xen guest that seems to go to sleep from time to time. Randomly, it just stops to answer to any network requests (HTTP, ssh, ping) and only resumes activity when we log on the ...
0
votes
1
answer
922
views
Webmin time module and CentOS [closed]
When I try to install webmin time module on my VPS running CentOS I get this error message:
Failed to install standard module : Module time does not support this
operating system (CentOS Linux 5)
...
2
votes
1
answer
5k
views
NTP: ntpdate to sync time between the PCs on a private network
I have two systems. One acts as Primary/Active and has Internet connection and gets time from NTP server. The second system is Secondary/Passive and has no connection to the external world.
Primary ...
3
votes
2
answers
686
views
Unix Command to timestamp the output of a file, but with the relative-to-when-it-started time?
There are numerous programmes (e.g. ts in moreutils), and various bash one-liners to prepend the output of a command/pipe with the timestamp of when that line was 'printed'.
However is there a ...
9
votes
1
answer
7k
views
Single NTP server on isolate network
I have two linux machines (A and B) on an isolated network. They must be time-synchronized. Machine A is powered intermittently and must serve the time, as it is connected to an authoritative time ...
3
votes
2
answers
577
views
Windows Time Service OS Compatibility
Some of our servers have Domain Time II on them but we are having to make the possible decision to buy over 100+ licenses for Domain Time II or enable the windows time service.
The installation of ...
18
votes
7
answers
49k
views
How to make Jenkins CI use Local time instead of UTC on debian squeeze
I have a Jenkins-ci installation on a debian squeeze.
Current default time zone: 'America/Toronto'
Local time is now: Mon Jul 9 16:00:57 EDT 2012.
Universal Time is now: Mon Jul 9 20:00:57 ...
15
votes
4
answers
6k
views
Easy way to get the International Atomic Time on linux?
My system uses UTC for the system clock, which I don't particularly feel like changing. Is there an easy way to get the current TAI time? (preferably a command line tool or flag)
4
votes
1
answer
388
views
Apache HTTPD process cumulative cpu time
How can I aggregate all Apache HTTPD processes' CPU time usage to be able to compare them with other running processes' (MySQL, Java, ...)? Or how much CPU time does HTTPD needs compared to MySQL for ...
1
vote
3
answers
5k
views
Sync Linux to Windows 2003/2008 Natively
Without using any external packages for Windows, can Linux synchronise it's clock to a Windows 03/08 Server natively? I've tried it using various NTP packages for Windows but would like to use just ...
3
votes
1
answer
5k
views
Time Synch Architecture in Windows Domain Environment
I just read the following article --
"In a domain, time synchronization takes place when Windows Time Service turns on during system startup and periodically while the system is running."
( http://...
0
votes
1
answer
2k
views
System time problems on Debian (wait for clock tick timed out)
I just installed a new server and changed the time zone by using the command:
dpkg-reconfigure tzdata
the system clock is correct now but /sbin/hwclock --systohc doesn't work:
select() to /dev/rtc ...