HTCondor Project List Archives



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-devel] simple log question



Dan Gunter wrote:
Hi,

I have a very simple (I hope) question about condor logs. If I have the following event, for example, what timezone is the EventTime in?

Local timezone.

The important code snippet is from condor_event.C is:

	(void) time ((time_t *)&eventclock);
	tm = localtime ((time_t *)&eventclock);
	eventTime = *tm;

So it will be your local time zone, as defined by either the TZ environment variable or, if that is not set, the /etc/localtime file.

regards,
Todd



<c>
    <a n="MyType"><s>JobTerminatedEvent</s></a>
    <a n="EventTypeNumber"><i>5</i></a>
    <a n="MyType"><s>JobTerminatedEvent</s></a>
    <a n="EventTime"><s>2008-02-06T16:45:10</s></a>
    <a n="Cluster"><i>5</i></a>
    <a n="Proc"><i>0</i></a>
    <a n="Subproc"><i>0</i></a>
    <a n="TerminatedNormally"><b v="t"/></a>
    <a n="ReturnValue"><i>0</i></a>
    <a n="RunLocalUsage"><s>Usr 0 00:00:00, Sys 0 00:00:00</s></a>
    <a n="RunRemoteUsage"><s>Usr 0 00:00:00, Sys 0 00:00:00</s></a>
    <a n="TotalLocalUsage"><s>Usr 0 00:00:00, Sys 0 00:00:00</s></a>
    <a n="TotalRemoteUsage"><s>Usr 0 00:00:00, Sys 0 00:00:00</s></a>
    <a n="SentBytes"><r>0.000000000000000E+00</r></a>
    <a n="ReceivedBytes"><r>0.000000000000000E+00</r></a>
    <a n="TotalSentBytes"><r>0.000000000000000E+00</r></a>
    <a n="TotalReceivedBytes"><r>0.000000000000000E+00</r></a>
</c>

condor_version returns:

$CondorVersion: 6.9.4 Aug 30 2007 $
$CondorPlatform: I386-LINUX_RHEL3 $

in case that is relevant.

Thanks,

-Dan