(no subject)
Carter Bullard
carter at qosient.com
Tue Feb 13 14:37:29 EST 2007
Hey Matthew,
Argus stores all its timestamps as UTC values, which are seconds and
microseconds from Jan 1, 1970. So, argus will not be effected by
daylight
savings time changes.
Changes in daylight savings time rules do impact the behavior
of ra* programs on Unix/Linux machines, as they do the job of
converting the UTC timestamps into local time specific ascii strings.
These programs use localtime() and timelocal(), which are affected
by the new rules. How the ra* programs handle time conversion
is dependent on the host operating system doing the right thing.
If the operatingf system does the right thing, programs like rasplit()
which can split records into files that have the date in the actual
filename, will do the right thing, in that it will appear to skip an
hour's
worth of data, which is correct, as the local time will jump ahead an
hour.
Interestingly enough, the time filter capability of ra* programs should
generate the right outcome as well. If you use a filter like:
-t 2007/03/11.02:00:00-03:00:00
and your machine does the right thing with DST, you should not get
any data. If you do, we'll need to fix it.
For argus-3.0, the .rarc configuration file for ra* programs, allows you
to set theTZ environment variable to change the timezone, if you
think you
need to, or would like to. Check out the ./support/Config/rarc example
file for how to use this function.
Hope this helps!!!!
Carter
Please send argus mail to the developers mailing list, rather than
the announce list.
Thanks
--- Matthew Wiener wrote ---
Can anyone tell me if Argus is effected by Daylight Savings Time?
Does anyone know if Argus will be effected by the new change in 2007
with Daylight Savings Time? Where does Argus pull its time from?
Beginning in 2007, Daylight Saving Time is extended one month and
begins for most of the United States at:
2 a.m. on the Second Sunday in March
to
2 a.m. on the First Sunday of November
More information about the argus
mailing list