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)
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)
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)
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)
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)
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)
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)
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 CENTOS
pmlocaltime
PMLOCALTIME(3) Library Functions Manual PMLOCALTIME(3)NAME
pmLocaltime - convert the date and time for a reporting timezone
C SYNOPSIS
#include <time.h>
#include <pcp/pmapi.h>
struct tm *pmLocaltime(const time_t *clock, struct tm *result);
cc ... -lpcp
DESCRIPTION
pmLocaltime is very similar to localtime(3), except the timezone used is the current ``reporting timezone'' (rather than the default TZ
environment variable scheme), and the result is returned into a caller-declared buffer (rather than a private buffer).
Like localtime(3) the time to be converted is passed via clock, and the result contains the components broken out in the elements of the tm
struct.
pmLocaltime returns result as the value of the function.
The default current reporting timezone is as defined by the TZ environment variable, so pmLocaltime and localtime(3) will initially produce
a similar encoding of the date and time.
Use pmNewZone(3), pmNewContextZone(3) or pmUseZone(3) to establish a new current reporting timezone that will affect pmLocaltime but not
localtime(3).
SEE ALSO localtime(3), PMAPI(3), pmCtime(3), pmGetConfig(3), pmNewContextZone(3), pmNewZone(3), pmUseZone(3), pcp.conf(5) and pcp.env(5).
Performance Co-Pilot PCP PMLOCALTIME(3)