- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Clock Change
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
10-24-2006 03:58 AM
10-24-2006 03:58 AM
Clock Change
Could you advise me how do I find out whether my server automatically adjust the clock from BSt to GMT?
If not what are the steps to follow to make the time change one hour back?
If some one can apply why that will be much help ful.
Thanks in advance
s.o
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2006 04:09 AM
10-24-2006 04:09 AM
Re: Clock Change
Generally you just chane the TZ variable.
All the time zone does is effect the display of time.
http://www.faqs.org/faqs/hp/hpux-faq/section-167.html
Generally it is a bad idea to set system clocks back. It can cause oracle crashes because transaction records are suddenly out of order.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2006 04:20 AM
10-24-2006 04:20 AM
Re: Clock Change
# echo $TZ
if you see GMT0BST, you should be all set.
tztab(4):
# Greenwich Mean Time, British Summer Time
GMT0BST
0 3 25-31 3 1983-1984 0 BST-1
0 3 23-29 3 1985-1990 0 BST-1
0 3 25-31 3 1991-1995 0 BST-1
0 2 25-31 3 1996-2038 0 BST-1
0 1 25-31 10 1983-1985 0 GMT0
0 1 23-29 10 1986-1994 0 GMT0
0 1 18-24 10 1995 0 GMT0
0 1 25-31 10 1996-2038 0 GMT0
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2006 06:28 AM
10-24-2006 06:28 AM
Re: Clock Change
echo $TZ
to see if your current timezone setting is GMT0BST. If so, there is nothing to do. The commands:
date
date -u
should show your current time and then GMT time. As mentioned, the TZ variable changes the representation of time to programs. The /etc/TIMEZONE file will set this variable for every login.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2006 06:50 AM
10-24-2006 06:50 AM
Re: Clock Change
PHCO_34669 s700_800 11.23 tztab(4) cumulative patch
PHCO_34668 s700_800 11.11 tztab(4) cumulative patch
PHCO_34673 s700_800 11.00 tztab(4) cumulative patch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2006 02:22 AM
10-26-2006 02:22 AM
Re: Clock Change
Thanks for your reply. Apologies for my delayed response.
My servers are with correct time zone.
Now I need the following things to be clarified.
1. Whether the clock chnage happens in a moment or will it change slowly( by running the clock in a different speed) ?
2. Do i need to stop my applications running?
3. Do i need to stop my cron jobs ?
4.How the application, cron jobs will be affetced if it is a sudden change?
Thanks again for your valuable replies.
s.o
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2006 02:36 AM
10-26-2006 02:36 AM
Re: Clock Change
1. There is no actual clock change. What changes is your *offset* from UTC (GMT). The manpages for 'tztahb(4)' discuss this. Unix keeps "Epoch" time --- the number of seconds elapsed since January 1, 1970. That number always increments. Your perception of the correct local time is a positive or negative offset from that ever-advancing counter.
2. You do not need to stop your applications. Standard queries for time and any logs use the ever-advancing seconds counter.
3. The 'cron' daemon handles daylight saving transitions. The manpages for 'cron(1M)' describe this quite well.
4. See the responses in #2 & #3, above.
If it helps you visualize things, do this:
# TZ=UTC date
# TZ=GMT0BST date
Note that this defines a TZ variable value only for the duration of the commandline because a *space* (whitespace) follows the variable setting and preceeds the command. There are no semicolons in the above.
Regards!
...JRF...
Regards!
...JRF...