NetAdminTools.com
 
SignalQ Sites:
NetAdminTools - Coprolite - NoNIC - SpotBridge - NAW
RoboCoop - AreWeDown - SolarPower - SysAdminTools
Xfig - Gold Loaf - GeekPapa - FixGMC - MCJ - FixRambler
Categories:
GNU/Linux | Homebrew designs | Perl | Administration | Backup/Recovery | Bugs/Fixes | Certification | Database | Email | File/Print | Hardware | Information Grab Bag | Interoperability | GNU/Linux ABCs | Monitoring | Name Resolution | Network Services | Networking | Remote Control | Security | Desktop | Web | BSD | Solaris | GIAGD | REALbasic

Last 30 Days | Last 60 Days | Last 90 Days | All Articles | RSS | Hail Support


Categories:
·GNU/Linux
·Homebrew designs
·Perl
·Administration
·Backup/Recovery
·Bugs/Fixes
·Certification
·Database
·Email
·File/Print
·Hardware
·Information Grab Bag
·Interoperability
·GNU/Linux ABCs
·Monitoring
·Name Resolution
·Network Services
·Networking
·Remote Control
·Security
·Desktop
·Web
·BSD
·Solaris
·GIAGD
·REALbasic
·All Categories


Setting System and Hardware Time On GNU/Linux
Topic: GNU/Linux   Posted:2004-04-05
Printer Friendly: Print

spacerspacer
It is daylight savings time again. For those systems that don't automatically sync their time, you may have to set this manually. If you are in the U.S, you can find the correct time here. Let's set the system time:

root@srv-1 u-1 # date
Mon Apr  5 03:45:59 PDT 2004
root@srv-1 u-1 # date 040504142004
Mon Apr  5 04:14:00 PDT 2004

That isn't all, though, because we have to set the hardware time:

root@srv-1 u-1 # hwclock --show
Mon Apr  5 03:52:01 2004  -0.308606 seconds
root@srv-1 u-1 # 
root@srv-1 u-1 # hwclock --systohc
root@srv-1 u-1 # hwclock --show
Mon Apr  5 04:14:30 2004  -0.602298 seconds
root@srv-1 u-1 # date             
Mon Apr  5 04:14:35 PDT 2004
root@srv-1 u-1 # 

All is good.




Please read our Terms of Use
Microsoft, Windows, Windows XP, Windows 2003, Windows 2000, and NT are either trademarks or registered trademarks of Microsoft Corporation. NetAdminTools.com is not affiliated with Microsoft Corporation. Linux is a registered trademark of Linus Torvalds, and refers to the Linux kernel. The operating system of most distributions that contain the Linux kernel is GNU/Linux. All logos and trademarks in this site are property of their respective owner. Copyright 1997-2008 NetAdminTools.com

Created by:
MCJ
MCJ CMS