- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: TZ variable
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
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
09-02-2003 08:43 AM
09-02-2003 08:43 AM
I have some questions about TZ, if I change the default value (which is SAT5) could I get some problems?
I'm in charge of a management system running over 3 servers (communications, database and aplications) I guess the last problem we had, it was because the system has set TZ=SAT5, and yesterday it was a problem about the change of season for this time zone.
So I wanna change the TZ to GMT-5, but maybe I could have some poblems with the system if I do it.
Does anyone could explain me what are the changes that occurs in the OS when you change TZ... The server's OS are HP-UX 10.20 and 11.00
Any help would be appreciated.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2003 08:49 AM
09-02-2003 08:49 AM
Re: TZ variable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2003 08:52 AM
09-02-2003 08:52 AM
Re: TZ variable
Changing the TZ variable does not change anything other than the user or processes perception of the time. That is, the server's time doesn't change, only the value displayed.
The server's default value is kept in '/etc/TIMEZONE'. This file is sourced (read) during login by '/etc/profile' and the TZ variable exported to the user's environment.
If you wish to set and use a particular timezone only for the duration of a single process you can do so, overriding any global default. For instance:
# TZ=GMT date
...will display your server's time in UTC (GMT) time.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2003 08:54 AM
09-02-2003 08:54 AM
Re: TZ variable
Many servers that server the entire world(web) use that as a standard.
The only thing that can give you any trouble is if you actually try and roll back system time, which you are not proposing.
As A. Clay notes, you can also customize your user base based on where they connect from. Moving an International server to GMT is a good idea and should have no ill effects.
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
09-02-2003 09:03 AM
09-02-2003 09:03 AM
Re: TZ variable
Just before to go, one more thing... I don't need to reboot the system to apply the changes, rigth?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2003 09:13 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2003 09:15 AM
09-02-2003 09:15 AM
Re: TZ variable
Like any environmental variable, TZ will be read during process setup ('exec()') or upon an explicit export into the process's environment. Therefore, if you want all processes and users to have a consistent setting, change the global definition ('etc/TIMEZONE') and reboot.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2003 09:16 AM
09-02-2003 09:16 AM
Re: TZ variable
Like any environmental variable, TZ will be read during process setup ('exec()') or upon an explicit export into the process's environment. Therefore, if you want all processes and users to have a consistent setting, change the global definition ('etc/TIMEZONE') and reboot.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2003 09:17 AM
09-02-2003 09:17 AM
Re: TZ variable
Like any environmental variable, TZ will be read during process setup ('exec()') or upon an explicit export into the process's environment. Therefore, if you want all processes and users to have a consistent setting, change the global definition ('etc/TIMEZONE') and reboot.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2003 09:19 AM
09-02-2003 09:19 AM
Re: TZ variable
Any process fired up before the change will operate under the old TZ setup. Consequences depend on the application design.
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
09-02-2003 09:30 AM
09-02-2003 09:30 AM
Re: TZ variable
I'll apply your suggestions.
James It seems you're nervous... I'm who's in trouble not you :-)
(It's a joke...)