- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Hardware clock,
Operating System - Linux
1821544
Members
2214
Online
109633
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2007 12:24 AM
тАО03-01-2007 12:24 AM
Hi,
i have question regarding NTP, system clock and hardware clock.
I have ntp server configured and this would sync only system clock right? how to sync the system clock with hardware clock.
does operating system periodically checks the system clock changes and update with hardware clock? how to automate this process.
thanks
naga
i have question regarding NTP, system clock and hardware clock.
I have ntp server configured and this would sync only system clock right? how to sync the system clock with hardware clock.
does operating system periodically checks the system clock changes and update with hardware clock? how to automate this process.
thanks
naga
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2007 01:06 AM
тАО03-01-2007 01:06 AM
Solution
First, some definitions:
- hardware clock = the battery-backed clock on the system board, this is the clock that keeps time when the system is not running.
- system clock = the OS's idea of the current time. At system startup, in a very early phase, the time of the hardware clock is copied to the system clock with "hwclock --hctosys" or a similar command.
When the system is running, the system clock is the "primary" clock. If you don't use ntpd, you must use the "hwclock" command to adjust the hardware clock. The command to copy the system time into hardware clock is "hwclock --systohc".
If you are running ntpd, it will access the kernel's timekeeping functions and report when an accurate timesource is available. When the ntpd has properly synchronized with the timeserver(s), the OS kernel will automatically update the hardware clock according to the system clock. This update happens at 11-minute intervals, if I remember correctly.
- hardware clock = the battery-backed clock on the system board, this is the clock that keeps time when the system is not running.
- system clock = the OS's idea of the current time. At system startup, in a very early phase, the time of the hardware clock is copied to the system clock with "hwclock --hctosys" or a similar command.
When the system is running, the system clock is the "primary" clock. If you don't use ntpd, you must use the "hwclock" command to adjust the hardware clock. The command to copy the system time into hardware clock is "hwclock --systohc".
If you are running ntpd, it will access the kernel's timekeeping functions and report when an accurate timesource is available. When the ntpd has properly synchronized with the timeserver(s), the OS kernel will automatically update the hardware clock according to the system clock. This update happens at 11-minute intervals, if I remember correctly.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2007 03:33 AM
тАО03-02-2007 03:33 AM
Re: Hardware clock,
crontab the following command:
hwclock --systohc
hwclock --systohc
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP