Originally posted by: SystemAdmin
When I typed
-
echo $TZ
CST6CDT6
-
date
Thu Nov 1 17:46:40 CDT 2007
not CST as my prod AIX, although the time is correct.
Right, that makes sense when you consider you're still in daylight savings time (specifically Central Daylight Time). It would change to CST (Central Standard Time) when you return to standard time.
Also when I am in the smitty, using the USer input Values, I saw the smitty displaying the >command as
chtz_proc 'CST' '6' 'CDT' '6' ,'M4.1.0' /'1:00:00' ,'M11.1.0' /'1:00:00'
But actually there is no chtz_proc, only chtz, but with very simple manual. So where is the chtz? >I am little confused with the setting.
Good question, I "hacked" my /etc/environment file (and rebooted) manually on my machine. But if I understood your question, on my machine I discovered:
$ whereis chtz
chtz: /usr/bin/chtz
$
I would run through 'smitty chtz' to see what it would do, but I don't want to mess around with the settings I currently have on my companywide time server (it's a very old and finicky machine). My suggestion would be to try it out and then check your $TZ and see if it's done what we expect it to do. My guess is it will, but if not you now know where to set this up manually (/etc/environment). The format isn't too bad to figure out, the trick is to know how many Sunday's there are in the month leading up to and including the DST shift. For example, if it's the first Sunday of November, you want 'M11.1.0'. The slash (/) separates this from the time when the shift happens, so if you change time at 1AM (meaning at 1:00AM it's actually 12:00 midnight) you have it (/'1:00:00').
Of course this all may be moot for the moment, since I think we've passed the time you have set for the rollback to happen. But it will be good to know this for next year when you're faced with the same situation all over again.
#AIX-Forum