/python Secret
Last active
March 7, 2016 18:08
condor history file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NumCkpts_RAW = 0 | |
BufferSize = 524288 | |
NiceUser = false | |
CoreSize = 0 | |
CumulativeSlotTime = 0 | |
OnExitHold = false | |
RequestCpus = 1 | |
Err = "first.job.10.0.err" | |
BufferBlockSize = 32768 | |
ExecutableSize_RAW = 1 | |
x509userproxy = "/tmp/x509up_u39813" | |
ImageSize = 1 | |
WantCheckpoint = false | |
CommittedTime = 0 | |
TargetType = "Machine" | |
WhenToTransferOutput = "ON_EXIT_OR_EVICT" | |
Cmd = "/home/phxlk/script.sh" | |
JobUniverse = 5 | |
ExitBySignal = false | |
TransferIn = false | |
Iwd = "/home/phxlk" | |
NumRestarts = 0 | |
EncryptExecuteDirectory = false | |
CommittedSuspensionTime = 0 | |
Owner = "phxlk" | |
NumSystemHolds = 0 | |
CumulativeSuspensionTime = 0 | |
AccountingGroup = "group_physics.hep.phxlk" | |
Environment = "" | |
RequestDisk = DiskUsage | |
Requirements = ( TARGET.Arch == "X86_64" ) && ( TARGET.OpSys == "LINUX" ) && ( TARGET.Disk >= RequestDisk ) && ( TARGET.Memory >= RequestMemory ) && ( TARGET.HasFileTransfer ) | |
MinHosts = 1 | |
JobNotification = 0 | |
NumCkpts = 0 | |
LastSuspensionTime = 0 | |
NumJobStarts = 0 | |
WantRemoteSyscalls = false | |
JobLeaseDuration = 2400 | |
AcctGroup = "group_physics.hep" | |
JobPrio = 0 | |
RootDir = "/" | |
CurrentHosts = 0 | |
x509UserProxyExpiration = 1448336777 | |
WantRemoteIO = true | |
StreamOut = false | |
OnExitRemove = true | |
In = "/dev/null" | |
DiskUsage = 2 | |
PeriodicRemove = false | |
LocalUserCpu = 0.0 | |
RemoteUserCpu = 0.0 | |
TransferInput = "script.sh" | |
ExecutableSize = 1 | |
LocalSysCpu = 0.0 | |
RemoteSysCpu = 0.0 | |
ClusterId = 10 | |
CompletionDate = 0 | |
RemoteWallClockTime = 0.0 | |
Rank = 0.0 | |
x509UserProxyFQAN = "/C=UK/O=eScience/OU=Bristol/L=IS/CN=lukasz kreczko,/cms/Role=NULL/Capability=NULL" | |
LeaveJobInQueue = false | |
ImageSize_RAW = 1 | |
x509UserProxyEmail = "lkreczko@googlemail.com" | |
CondorVersion = "$CondorVersion: 8.4.2 Nov 16 2015 BuildID: 349384 $" | |
MyType = "Job" | |
AcctGroupUser = "phxlk" | |
StreamErr = false | |
DiskUsage_RAW = 2 | |
PeriodicHold = false | |
User = "phxlk@users.opensciencegrid.org" | |
x509UserProxyFirstFQAN = "/cms/Role=NULL/Capability=NULL" | |
Arguments = "" | |
Out = "first.job.10.0.out" | |
UserLog = "/home/phxlk/first.job.10.0.log" | |
PeriodicRelease = false | |
MaxHosts = 1 | |
RequestMemory = 300 | |
CommittedSlotTime = 0 | |
TotalSuspensions = 0 | |
x509userproxysubject = "/C=UK/O=eScience/OU=Bristol/L=IS/CN=lukasz kreczko" | |
x509UserProxyVOName = "cms" | |
CondorPlatform = "$CondorPlatform: x86_64_RedHat6 $" | |
TransferInputSizeMB = 0 | |
ExitStatus = 0 | |
ShouldTransferFiles = "YES" | |
EnteredCurrentStatus = 1448293671 | |
QDate = 1448293671 | |
LastHoldReasonSubCode = 0 | |
RemoveReason = "via condor_rm (by user phxlk)" | |
EnteredCurrentStatus = 1448300350 | |
LastHoldReason = "CE job in status 1 put on hold by SYSTEM_PERIODIC_HOLD due to non-existent route or entry in JOB_ROUTER_ENTRIES." | |
ProcId = 0 | |
ManagedManager = "" | |
LastJobStatus = 5 | |
JobFinishedHookDone = 1448300350 | |
GlobalJobId = "lcgce02.phy.bris.ac.uk#10.0#1448293671" | |
LastSuspensionTime = 0 | |
JobStatus = 3 | |
Managed = "Schedd" | |
LastHoldReasonCode = 26 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import classad; | |
f = open("/var/lib/gratia/condorce_data/history.10.0"); | |
ads = classad.parseAds(f); | |
for c in ads: | |
print c | |
print type(c) | |
print c["JobStatus"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import classad; | |
f = open("/var/lib/gratia/condorce_data/history.10.0"); | |
ads = classad.parseAds(f); | |
for c in ads: | |
print dir(c ) | |
# print type(c) | |
# print c | |
print c["JobStatus"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment