Scroll to navigation

REPORTING(5) Grid Engine File Formats REPORTING(5)

NAME

reporting - Grid Engine reporting file format

DESCRIPTION

A Grid Engine system writes a reporting file $SGE_ROOT/$SGE_CELL/common/reporting if reporting=true is specified in the sge_conf(5) reporting_params. This occurs intervals of the flush_time specified in the same place. The reporting file contains data that can be used for accounting, monitoring and analysis purposes. It contains information about the cluster (hosts, queues, load values, consumables, etc.), about the jobs running in the cluster and about sharetree configuration and usage. All information is time-related and events are dumped to the reporting file in a configurable interval. It allows "real time" monitoring of the cluster status as well as historical analysis.

FORMAT

The reporting file is an ASCII file. Each line contains one record, and the fields of a record are separated by a delimiter (:). The reporting file contains records of different type. Each record type has a specific record structure.

The first two fields are common to all reporting records:

The time when the record was created. All time values described here are the number of seconds since the Unix epoch (1970-01-01 00:00:00 UTC).
Type of the accounting record.

The different types of records and their structure are described below, eliding the leading time and record type fields in each case.

new_job

The new_job record is written whenever a new job enters the system (usually by a submission command). It has the following fields:

Time when the job was submitted.
The job number.
The array task id. Always has the value -1 for new_job records (as array tasks haven't been created at that stage).
The task id of parallel tasks. Always has the value "none" for new_job records.
The job name (from -N submission option).
The job owner.
The Unix group of the job owner.
The project the job is running in.
The department the job owner is in.
The account string specified for the job (from the -A submission option).
The job priority (from the -p submission option).

job_log

If joblog=true is specified in the sge_conf(5) reporting_params, a job_log record is written whenever a job, an array task or a PE task changes status. A status change can be the transition from pending to running, but can also be triggered by user actions, like suspension of a job. It has the following fields:

Time when the event was generated.
A one word description of the event.
The job number.
The PE task id. Always has the value -1 for new_job records (as parallel tasks haven't been created at that stage).
The task id of parallel tasks. Always has the value "none" for new_job records.
The state of the job after the event was processed.
The user who initiated the event (or special usernames "qmaster", "scheduler" and "execd" for actions of the system itself like scheduling jobs, executing jobs etc.).
host
The host from which the action was initiated (e.g. the submit host, the qmaster host, etc.).
Reserved field for later use.
Time when the job was submitted.
The job name (from the -N submission option).
The job owner.
The Unix group of the job owner.
The project the job is running in.
The department the job owner is in.
The account string specified for the job (from the -A submission option).
The job priority (from the -p submission option).
A message describing the reported action.

acct

Records of type acct are accounting records. Normally, they are written whenever a job, a task of an array job, or a task of a parallel job terminates. However, for long running jobs an intermediate acct record is created once a day after midnight. This results in multiple accounting records for a particular job and allows for fine-grained resource usage monitoring over time.

Accounting records have the structure described in accounting(5), with the addition of leading time and type fields (which are not used in the accounting file).

queue

Records of type queue contain state information for queues (queue instances). A queue record has the following fields:

The cluster queue name.
The hostname of a specific queue instance.
The time when a state change was triggered.
The new queue state. The possible states are single-letter values, as reported by qhost(1) with the -q option.

queue_consumable

A queue_consumable record contains information about queue consumable values in addition to queue state information:

The cluster queue name.
The hostname of a specific queue instance.
The time when a state change was triggered.
The new queue state.
Description of consumable values. Information about multiple consumables is separated by space. A consumable description has the format name=actual_value=configured_value.

Consumables are only logged if log_consumables=true is specified in the sge_conf(5) reporting_params, or the consumable is specified in the local or global host_conf(5) report_variables.

host

A host record contains information about hosts and host load values. It contains the following information:

The name of the host.
The time when the reported information was generated.
The new host state. Currently, Grid Engine doesn't track a host state; the field is reserved for future use. Always contains the value X.
Description of load values. Information about multiple load values is separated by space. A load value description has the format name=actual_value.

host_consumable

A host_consumable record contains information about hosts and host consumables. Host consumables can, for example, be licenses. It contains the following information:

The name of the host.
The time when the reported information was generated.
The new host state. Currently, Grid Engine doesn't track a host state; the field is reserved for future use. Always contains the value X.
Description of consumable values. Information about multiple consumables is separated by space. A consumable description has the format name=actual_value=configured_value.

Consumables are only logged if log_consumables=true is specified in the sge_conf(5) reporting_params, or the consumable is specified in the local or global host_conf(5) report_variables.

sharelog

The Grid Engine qmaster can dump information about sharetree configuration and use to the reporting file. The sge_conf(5) reporting_params can specify sharelog, which sets an interval in which sharetree information will be dumped. It is set in the format HH:MM:SS. A value of 00:00:00 configures qmaster not to dump sharetree information. Intervals of several minutes up to hours are sensible values for this parameter. The record contains the following fields

The present time
The time used so far
The node name
The user name
The project name
The total shares
The job count
The percentage of shares used
The adjusted percentage of shares used
The long target percentage of resource shares used
The short target percentage of resource shares used
The actual percentage of resource shares used
The combined shares used
The number of CPU seconds used
The time integral of memory used (in GB seconds)
The IO done (in GB)
The long target cpu used
The long target memory used
The long target IO used

new_ar

A new_ar record contains information about advance reservation objects. Entries of this type will be added if an advance reservation is created. It contains the following information:

The time when the advance reservation was created.
The advance reservation number identifying the reservation.
The owner of the advance reservation.

ar_attribute

The ar_attribute record is written whenever a new advance reservation was added or the attribute of an existing advance reservation has changed. It has the following fields.

The time when the event was generated.
The time when the advance reservation was created.
The advance reservation number identifying the reservation.
Name of the advance reservation.
An account string which was specified during the creation of the advance reservation.
Start time.
End time.
The parallel environment which was selected for an advance reservation.
The granted resources which were selected for an advance reservation.

ar_log

The ar_log record is written whenever an advance reservation changes status. A status change can be from pending to active, but can also be triggered by system events like host outage. It has the following fields.

The time when the event occurred which caused a state change.
The time when the advance reservation was created.
The advance reservation number identifying the reservation.
The new state.
An event id identifying the event which caused the state change.
A message describing the event which caused the state change.

ar_acct

The ar_acct records are accounting records which are written for every queue instance whenever an advance reservation terminates. Advance reservation accounting records comprise following fields.

The time when the advance reservation terminated.
The time when the advance reservation was created.
The advance reservation number identifying the reservation.
Cluster queue name which the advance reservation reserved.
The name of the execution host.
The number of slots which were reserved.

FILES

$SGE_ROOT/$SGE_CELL/common/reporting

SEE ALSO

accounting(5), sge_conf(5), host_conf(5).

COPYRIGHT

See sge_intro(1) for a full statement of rights and permissions.

2011-05-08 SGE 8.1.3pre