- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: HP-UX time setting
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
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
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-06-2011 04:03 AM
тАО04-06-2011 04:03 AM
Since our contry moved into "summer clock" - 1 hour forwards, I would like to set this change in my HP-UX machine. Now the time zone is according to UTC, and there is no out source for updating the time.
BR,
Yaron
Solved! Go to Solution.
- Tags:
- TZ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2011 05:47 PM
тАО04-06-2011 05:47 PM
Re: HP-UX time setting
/sbin/set_parms timezone
A list of defined timezones is in /usr/lib/tztab
you can find more info in man tztab.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-07-2011 12:03 AM
тАО04-07-2011 12:03 AM
Re: HP-UX time setting
See tztab(4).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2011 11:26 PM
тАО04-09-2011 11:26 PM
Re: HP-UX time setting
since the HP machines doesn't receive any synchronization time form out source I used set_parms date_time to define the time (UTC+3).
Then I tried ls -l command and it shows only the MM and the YY of the creation time for each file. No indication of time (Hour:Min) as was before.
I fixed the problem by using the command:
date MM/DD/HH/Mn
Yes
Ent
My questions are:
1.
How can I set the time zone without out sync source?
2.
Is there a way for ls -l to display all the following - YY/MM/DD hour:min ?
BR,
Yaron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2011 12:34 AM - last edited on тАО08-04-2011 09:25 AM by Kevin_Paul
тАО04-11-2011 12:34 AM - last edited on тАО08-04-2011 09:25 AM by Kevin_Paul
Solution>Then I tried ls -l command and it shows only the MM and the YY of the creation time for each file. No indication of time (Hour:Min) as was before.
This happens for:
If the time of last modification is greater than six months ago, or any time in the future, the year is substituted for the hour and minute of the modification time.
>How can I set the time zone without out sync source?
The timezone has nothing to do with NTP.
>Is there a way for ls -l to display all the following - YY/MM/DD hour:min?
This requires you to modify ls.cat:
http://h30499.www3.hp.com/t5/System-Administration/format-YYmmdd-for-ls/m-p/4523334#M367324
- Tags:
- ls.cat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2011 01:18 AM
тАО04-11-2011 01:18 AM
Re: HP-UX time setting
Do you know what should I set in the set_parms to be the Time Zone for local time which is UTC +3 hours?
I put UTC+3
Is that shuold work for good? I mean even when the local time will changed again to the "winter clock" (UTC+2)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2011 03:11 AM
тАО04-11-2011 03:11 AM
Re: HP-UX time setting
No. The only why it works for good is if you have a TZ value in /usr/lib/tztab that matches your countries particular start and stop times.
You then put that in /etc/TIMEZONE.
And make sure that "date -u" matches UTC time.