Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


Search this Thread
Old 01-10-2007, 09:00 PM   #1
Registered: Jan 2006
Location: Sri Lanka
Posts: 501

Rep: Reputation: 34
how to sync hw clock with date


I have a RedHat AS3 in HP - DL380

if I do date it gives me a different time than hwclock. Can you tell me how to synchronize this HW clock and system date.

Thank you


Old 01-10-2007, 10:11 PM   #2
Senior Member
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 56
Redhat / Fedora runs hwclock --systohc everytime you shutdown/reboot. That's no fun if you are trying for maximum uptime so, you could run this command.
su - -c "ntpdate ; hwclock --systohc"
Old 01-10-2007, 11:31 PM   #3
Registered: Jan 2006
Location: Sri Lanka
Posts: 501

Original Poster
Rep: Reputation: 34
Hi homey, thank you

Best regards



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
KDE clock going out of sync at every login Unforgiven79 Linux - Software 1 11-12-2006 07:43 AM
atomic clock sync salviadud Slackware 8 03-01-2005 12:28 AM
Clock sync (RH 9.0) herc Linux - Software 4 10-14-2003 05:15 PM
Atomic Clock Sync cjwcash Linux - Software 1 08-06-2003 01:14 PM
Hardware Clock sync? gritts Linux - General 1 08-19-2002 06:25 PM

All times are GMT -5. The time now is 11:36 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration