HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- set the time, but slowly...
Operating System - HP-UX
1825775
Members
2436
Online
109687
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
Forums
Discussions
Discussions
Discussions
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
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
02-11-2004 08:32 PM
02-11-2004 08:32 PM
set the time, but slowly...
Hi
I want to set the date, but I won't set it with :
date MMDDhhmm...
I want to set like ntpdate -B server, but the problem is I want to set the servers time, but slowly(because I have heard that if ntp tme differs from server more then 30minutes then it could'nt be done.
I want to set the date, but I won't set it with :
date MMDDhhmm...
I want to set like ntpdate -B server, but the problem is I want to set the servers time, but slowly(because I have heard that if ntp tme differs from server more then 30minutes then it could'nt be done.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2004 08:37 PM
02-11-2004 08:37 PM
Re: set the time, but slowly...
Hi,
You can use the date command to slowly reduce the time of your server. check the manual page of date.
man date
-a [-]sss[.fff]
Slowly adjust the time by sss.fff seconds (fff represents
fractions of a second). This adjustment can be positive or
negative. The system's clock will be sped up or slowed down
until it has drifted by the number of seconds specified.
Regards,
Robert-Jan
You can use the date command to slowly reduce the time of your server. check the manual page of date.
man date
-a [-]sss[.fff]
Slowly adjust the time by sss.fff seconds (fff represents
fractions of a second). This adjustment can be positive or
negative. The system's clock will be sped up or slowed down
until it has drifted by the number of seconds specified.
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2004 12:02 AM
02-12-2004 12:02 AM
Re: set the time, but slowly...
ntpdate does not comply with the xntpd in this case, and works for any difference. Using the -B option will slowly adjust the clock like you want it to... I have done this multiple times. It is fun the have a xclock running on both the NTP server and the client running ntpdate, both with update of 1 second, to see the difference in speed...
Mind that it can take a long time for the clock to sync this way.
Mind that it can take a long time for the clock to sync this way.
Every problem has at least one solution. Only some solutions are harder to find.
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
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP