- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Where does /usr/lib/tztab log the time of chan...
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
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
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
тАО04-21-2008 03:31 AM
тАО04-21-2008 03:31 AM
Where does /usr/lib/tztab log the time of change??
Can anyone please tell me where can I check when a time change occured on my system (HPUX11.23). The /usr/lib/tztab file changed the time one hour back for DST, but I can't find the log file to show when this occured. /var/adm/syslog/syslog.log does not show me anything regarding this change.
Thank you
ACW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2008 03:56 AM
тАО04-21-2008 03:56 AM
Re: Where does /usr/lib/tztab log the time of change??
0 3 8-14 3 2007-2038 0 EDT4
which specifies the minute (0), hour (3), day of the month (8-14), month of the year (3), year (2007-2038), day of the week (0), and the adjustment string (EDT4). So, on the 1st Sunday of the second week in March, at 3:00 AM, my time display switched to one hour earlier: EDT4 rather than EST5.
The man pages for tztab can help you figure this out.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2008 04:56 AM
тАО04-21-2008 04:56 AM
Re: Where does /usr/lib/tztab log the time of change??
So does this mean that, even if the time display changes on an O/S level, that the application will not neccessarily see that change?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2008 04:58 AM
тАО04-21-2008 04:58 AM
Re: Where does /usr/lib/tztab log the time of change??
If you want this confirmed, you can use Clay's dst.pl script to decode tztab(4).
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1210672
http://forums12.itrc.hp.com/service/forums/questionanswer.do?threadId=1209662
http://forums12.itrc.hp.com/service/forums/questionanswer.do?threadId=1165833
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2008 05:01 AM
тАО04-21-2008 05:01 AM
Re: Where does /usr/lib/tztab log the time of change??
That's the point, the time does NOT change for the OS, only its display at the application level.
It only changes if you use libc routines to format the time in local time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2008 05:02 AM
тАО04-21-2008 05:02 AM
Re: Where does /usr/lib/tztab log the time of change??
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2008 05:41 AM
тАО04-21-2008 05:41 AM
Re: Where does /usr/lib/tztab log the time of change??
But, now, how do i implement Daylight Savings Time, so that the time changes and not just the display?
Is there and patch for this aka, Windhoek Namibia Timezone patch?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2008 05:50 AM
тАО04-21-2008 05:50 AM
Re: Where does /usr/lib/tztab log the time of change??
> But, now, how do i implement Daylight Savings Time, so that the time changes and not just the display?
You are missing the point. Time does NOT change. The number of seconds since the epoch (for Unix, January 1. 1970) steadily advances.
What changes is your PERCEPTION of time. The TZ variable is the positive or negative offset from Universal (Greenwich) time.
When daylight saving time is in effect, the OFFSET from UTC is changed (usually by one hour) compared to what that OFFSET from UTC is during the other part of the year.
Daylight Saving time is a political adjustment of time.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2008 06:04 AM
тАО04-21-2008 06:04 AM
Re: Where does /usr/lib/tztab log the time of change??
Are you asking for a new timezone added to tztab(4)?
If so, you'll either have to do it yourself or meet certain criteria. If you would like an official HP-UX entry for your timezone you first must:
1) Meet the minimum population and sales numbers
2) Contact your local HP sales office
3) Provide an official government paper or web site that explains your timezone rules in a manner that is unambiguous. I.e. at this date AND time it is X, a minute later it switches to Y. And it a minute before it switches, it is X and a minute later it is Y.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2008 06:11 AM
тАО04-21-2008 06:11 AM