Alert.png The wiki is deprecated and due to be decommissioned by the end of September 2022.
The content is being migrated to other supports, new updates will be ignored and lost.
If needed you can get in touch with EGI SDIS team using operations @ egi.eu.

APEL/MessageFormatV01

From EGIWiki
< APEL
Revision as of 19:34, 7 March 2012 by Wrogers (talk | contribs) (Created page with '* Back to APEL/MessageFormat '''Header''' APEL-individual-job-message: v0.1 The header only appears once at the top of each message (that is once at the top of each file)…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Header APEL-individual-job-message: v0.1

The header only appears once at the top of each message (that is once at the top of each file). It defines the type of record and the schema version.

Key Value Description Mandatory CAR equivalent (if different)
Site String GOCDB sitename Yes SiteName
SubmitHost String The CE-ID (see example) Yes
LocalJobID String Batch System Job ID Yes
LocalUserID String Local username
GlobalUserName String User's X509 DN
UserFQAN String User's VOMS attributes FQAN
WallDuration int Wallclock time for the job (seconds) Yes
CpuDuration int CPU time for the job (seconds) Yes
Processors int Number of processors
NodeCount int Number of nodes
StartTime int Start time of the job (epoch time) Yes
EndTime int Stop time of the job (epoch time) Yes
MemoryReal int Memory consumed by job (kbytes)
MemoryVirtual int Virtual memory consumed by job (kbytes)
ScalingFactorUnit String HepSpec06 | SpecInt2000 Yes ServiceLevelType
ScalingFactor double Value of either HepSpec06 or SpecInt2000 Yes ServiceLevel


End of record:  %%

Notes: If !ScalingFactorUnit/Value is not available it should be set to:

ScalingFactorUnit = 'custom'
ScalingFactor = 1

If !GlobalUserName or !UserFQAN is not published, the value for these fields on the server will be set to 'None'.

Example Message

APEL-individual-job-message: v0.1
Site: RAL-LCG2
SubmitHost: ce01.ncg.ingrid.pt:2119/jobmanager-lcgsge-atlasgrid
LocalJobID: 31564872
LocalUserID: atlasprd019
GlobalUserName: /C=whatever/D=someDN
UserFQAN: /voname/Role=NULL/Capability=NULL
WallDuration: 234256
CpuDuration: 2345
Processors: 2
NodeCount: 2
StartTime: 1234567890
EndTime: 1234567899
MemoryReal: 1000
MemoryVirtual: 2000
ScalingFactorUnit: SpecInt2000
ScalingFactor: 1000
%%
...another job record...
%%
...
%%