03-01-2007
Thank you for your quick reply.
Could you please tell me what Shell are you using for this code?
BASH does not seem to like it... :-(
10 More Discussions You Might Find Interesting
1. Solaris
I have several servers that are outside the country and are running Solaris 6 mainly with a few Solaris 7 boxes here and there. Because of that, we need to schedule time to change the time on March 11th and again in April, October and November. At least until the customer decides it's time to... (3 Replies)
Discussion started by: BOFH
3 Replies
2. SCO
I checked SCO's site for DST fix for SCO 5.0.0 and there iis not one available. Can I run a script in the cron to read in and change the time?
TiA (2 Replies)
Discussion started by: tbgeek
2 Replies
3. SCO
Hello,
Anyone know where I can find the DST updates for SCO Xdesktop 3.6.3?
Thanks (0 Replies)
Discussion started by: ddzc
0 Replies
4. AIX
Just a quick last minute thing here.
AIX 5.1. I ran the perl script referenced in the tutorials and found the AIX box is triggering DST on the 14th instead of the 11th. The 5.2 boxes come back with the right answers. The DST patches have been applied (or I'd have Apr 1st instead of the 14th).
... (0 Replies)
Discussion started by: BOFH
0 Replies
5. Solaris
How to update DST patch. Whatat are the necessary steps that have to be taken on the servers to update this patch?. (1 Reply)
Discussion started by: sandeepkv
1 Replies
6. Shell Programming and Scripting
Hello ,
We are investigating an issue from a customer from Western Australia related to DST change on 25 th March. The customer in Australia has the below settings for Time Zone. The System is Solaris 9.
TZ=Australia/NSW
CMASK=022
We are trying to reproduce the problem in our local... (1 Reply)
Discussion started by: Mohammed
1 Replies
7. AIX
Hello.
Our application is running on AIX box located in NSW , Australia. As DST starts on Oct 28th - Do you know IF AIX boxes have auto updates of day light saving times? IF not , how to do it? IF yes, where can I verify it?
Thank you! (3 Replies)
Discussion started by: panchpan
3 Replies
8. High Performance Computing
Hi All,
If I need to verify my solaris 8 with patch 110910-03 and I query the server below:
#showrev -p | grep 'Patch: 110910-'
Patch: 110910-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
Do I still need to apply the patch if the older 110910-01 patch exist?
Please... (5 Replies)
Discussion started by: itik
5 Replies
9. Linux
Hello,
I have linux server which is one hour behind after the DST change last week. I post some information below on the settings. any helpwould be helpful since I am newbie..
$ clock
Tue 04 Nov 2008 03:12:26 PM EST -0.785549 seconds
$more clock
Tue 04 Nov 2008 03:12:26 PM EST... (2 Replies)
Discussion started by: jbdavis02@yahoo
2 Replies
10. UNIX for Advanced & Expert Users
Hi,
I have one confusion regarding DST chnages which are going to happen after October. :confused: :confused:
I have few jobs on Autosys which run as per Japan Time. they shoudl not be affected by switiching off of DST time.
Our autosys instance server is based on UK which is running on... (0 Replies)
Discussion started by: girdharsourabh
0 Replies
LEARN ABOUT OPENSOLARIS
rtc
rtc(1M) System Administration Commands rtc(1M)
NAME
rtc - provide all real-time clock and GMT-lag management
SYNOPSIS
/usr/sbin/rtc [-c] [-z zone-name]
DESCRIPTION
On x86 systems, the rtc command reconciles the difference in the way that time is established between UNIX and MS-DOS systems. UNIX systems
utilize Greenwich Mean Time (GMT), while MS-DOS systems utilize local time.
Without arguments, rtc displays the currently configured time zone string. The currently configured time zone string is based on what was
last recorded by rtc-z zone-name.
The rtc command is not normally run from a shell prompt; it is generally invoked by the system. Commands such as date(1) and rdate(1M),
which are used to set the time on a system, invoke /usr/sbin/rtc -c to ensure that daylight savings time (DST) is corrected for properly.
OPTIONS
-c This option checks for DST and makes corrections if necessary. It is normally run once a day by a cron job.
If there is no RTC time zone or /etc/rtc_config file, this option will do nothing.
-z zone-name This option, which is normally run by the system at software installation time, is used to specify the time zone in which
the RTC is to be maintained. It updates the configuration file /etc/rtc_config with the name of the specified zone and the
current GMT lag for that zone. If there is an existing rtc_config file, this command will update it. If not, this command
will create it.
FILES
/etc/rtc_config The data file used to record the time zone and GMT lag. This file is completely managed by /usr/sbin/rtc, and it is read
by the kernel.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Architecture |x86 |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
date(1), rdate(1M), attributes(5)
SunOS 5.11 3 Oct 2003 rtc(1M)