General :: Set System Clock In Unix To Millisecond Precision?
Nov 15, 2010
Generally you can set system clock using [URL]. However, it doesn't supply millisecond precision (it does have nanoseconds, but this isn't working on my system). Is there another way to set system clock, or will I need to write a C program to do it?
I remember that 10 years ago or so, I used to have on a Debian desktop a clock which displayed the time on a custom level of approximation, e.g. quarter to five for 04:47 or even "morning/late evening/etc". I can't remember if it was a customization of the default clock or a separate program. I didn't have luck searching on the internet. Is it possible to get something similar with Gnome on Jessie?
I am looking to install Linux on a Dell Precision 340 with unpartitioned 17G (scsi) disk space available. It is a 4-5 year old workstation with Nvidia Quadro2 MXR/EX video controller. It has a Windows XP Pro installed on the primary partition. Which OS should I download and install? Is the X86-64bit CentOS 5.3 an option?
What are the directories and files in Unix file-system that has default user permission set. For eg. home directory of a user can't be seen by the other users on the system without his permission. In the same way what are the other directories that by default has user permission set at the time user account has opened. Eg. /etc,/bin or what
How can I display every man page available on a unix system? I want to list them all in an easy manner without manually digging up all the search paths, etc.
While dual-booting Windows and Linux, Linux sets the system time to UTC, so Windows thinks it's midnight near mid-morning. Is there any other way to tell Windows to use UTC? I've seen the registry tweak proposed here and other places. This does not work on my computer (Windows 7 32-bit).For reference, the registry entry is this:HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlTimeZoneInformation]"RealTimeIsUniversal"=dword:00000001
I'm trying to mount a folder located at 10.0.0.1:/pxe/ on eth1 but I'm not sure how to do this with two NICs enabled. The command mount 10.0.0.1:/pxe/ /mnt/pxe/ works fine when I only am using the one NIC the appropriate machine is on, but how can I specify to use eth1 when eth0 is also enabled?
the time on system clock given with 'date' command keeps moving forward about 1 minute for every hour of realtime. The box is up all the time so this is not an issue with motherboard battery. An equivalent box with the same hardwre/OS and applications doesn't have the same level of drift. I'm not sure what else this could be.Both boxes are Centos 5.2 64-bit.
It is just a general discussion on "How Can Perl Be Useful in System Administration and Application Development on UNIX and Linux Platforms"? I am doing pretty much well with Bash and PHP. In fact, I am learning and experimenting in depth in those two domains. The project that I am working for these days has several scripts which are written in Perl and Ksh. They interact with Ab Initio graphs and perform extensive jobs. Anyways, my current role doesn't require me to have knowledge of Perl but I don't see any harm in learning something new.
So, before I take it, I want to know how Perl can help me and what I can do with it as a UNIX / Linux System Administrator and Application Developer? I just looked at some of its keywords, functions, and commands. Perl Variables are identical to those of PHP. Conditional Statements, Loops, etc. are also much the same as found in any other computer languages. So, at first glance, I have got this feel that it wouldn't be much difficult for me to learn it. But what do you say? Do I really need Perl when I am focusing on PHP and Bash?
I have a projet at university, and i need to install a rootkit or keylogger on the unix operating system, i have searched over the internet and i have found names of rootkits but i couldnt download or get the source code for the rootkit. Does anyone know where to find a rootkit or keylogger to use?
Is there any way to monitor one process' CPU usage and RAM usage over time on Linux? I am trying to change to a cheaper VPS and need to work out what level of CPU and RAM I need!
I have a debian system that's freezing in the boot sequence at "Setting system clock".Several sites I looked at recommended changing the init scripts to disallow hardware access to the clock. But, I can't boot! Is there a parameter I can pass to the kernel at boot so that it will skip init scripts?
At the moment I am using Hummingbird Exceed on a windows PC to display X windows from a Unix server. The actual Exceed tool I use is called 'hwm' which I believe is basically an pc based X Windows manager. I do not need to configure anything other than the client computer name, IP address and screen definition and the server will then allow a connection and display the X windows on the client. I was wondering if there is an equivalent application I can run using Ubunto as a client insted of a Windows PC?
In school, my codes are writeen under UNIX system (Solaris10/SUN), now I need to transfer those codes to Linux (Redhat5). But after I directly copy to Linux, it shows many errors and warnings.
Does anyone know which codes I need to modify to specifily suit for UNIX? I am not familiar with those systems and hope to get your kind help.
I triple boot with XP on the first partition, sidux on the second and third and Ubuntu on the fourth. sidux controls grub2. When I boot into XP or Ubuntu, my clock gets set ahead 4 hours to UTC time (I'm on Eastern daylight time).
Is there a way for all three OSs to display the right time?
I am implementing BigFix tool, for UNIX I need help to create script for installation of BigFix client on *nix systems. I am thinking to install BigFix using a script which will install correct version of BigFix client, is there any script available or what i need to do create a script for this taskOr Is there any Open source tool available to installation of this kind of thing on *nix?
Wrong system clock; Right hardware clock. 'date' and 'hwclock --show' show big differences in time. Hardware clock keeps the correct time, but 'date', the system clock, doesn't (often wrong in a matter of hours). So I'm sure it is the problem of the kernel. I'm tired of synching hardware clock with the system clock all the time. How do I get Ubuntu to use the hardware clock instead of its own in the first place?
Try as I might I cannot seem to get the system clock to display local time. It looks like it's stuck on GMT. In the System>Administration>Time and Date I have my local time zone set correctly and also set to update automatically with an appropriate time server selected. It still displays my local time +5 hours (I'm central time, USA).
I'm completely new to Linux. I'm having the hardest time trying to do the simplest things. I'm using Kopete and I was wondering if I can put the icon on the system taskbar by the clock? I can't drag it there, won't work. I also tried to right click the taskbar and open 'add new items' but Kepete doesn't show on the list.
I restored my .kde directory after changing some stuff unrelated to my clock and now all plasma clocks are exactly 5 hours faster than my system time (the correct time).I've set the time zone for Date&Time in System Settings properly and that's working well and I've ALSO gone into the time zone settings for the plasma widgets and switched between UTC and Local manually but that doesn't do anything.
It seems that the SCO divvy (multipliable file systems in 1 partitions) is the problemSo I am looking for a Linux patch or solution? Note: I no longer have the SCO disks.
I want to set up a web server, and I want to set up NTP so to always keep the clock in sync. I have installed a very basic system (No GUI or X components), to keep it slim and thereby a little less prone to security problems. However, does anybody know what the Synchronize system clock before starting option in system-config-date actually does in terms of changing config files or permissions? I'd like to know so I can do it manually via the commandline.
I've been frustrated with several problems I've been experiencing with Karmic Koala. The one I'll mention in this post is the fact that it randomly decides to adjust the system clock ahead 6 hours. I believe this began happening when I set the location for the system time that displays in the top panel. I'm guessing that the 6 hours is the fact that I'm in the US Central Time zone.