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

[HTCondor-users] headers on condor_status command



Hi,

I have commands like this:

â  gofact_extendrange_ganymede git:(master) â condor_status -claimed -af:h Cmd Arguments CpusProvisioned JobId Owner 'formatTime(Qdate)' 'formatTime(JobCurrentStartDate)'  Machine  'interval(time()-JobCurrentStartDate)' CpusUsage NumJobStarts -sort "-JobCurrentStartDate" -constraint 'Owner=="templon"'
Cmd                                                   Arguments CpusProvisioned JobId     Owner   formatTime(Qdate)        formatTime(JobCurrentStartDate) Machine              interval(time()-JobCurrentStartDate) CpusUsage             NumJobStarts
/user/templon/gofact_extendrange_ganymede/mers.condor 214       1               49710.152 templon Fri Nov 18 10:21:07 2022 Fri Nov 18 10:22:33 2022        wn-lot-048.nikhef.nl 4+03:08:05                           0.9994810870997662    0
/user/templon/gofact_extendrange_ganymede/mers.condor 242       1               49710.180 templon Fri Nov 18 10:21:07 2022 Fri Nov 18 10:23:56 2022        wn-lot-047.nikhef.nl 4+03:06:42                           0.9995679102645538    0
/user/templon/gofact_extendrange_ganymede/mers.condor 254       1               49710.192 templon Fri Nov 18 10:21:07 2022 Fri Nov 18 10:32:35 2022        wn-lot-050.nikhef.nl 4+02:58:03                           0.9994999861801459    0
/user/templon/gofact_extendrange_ganymede/mers.condor 257       1               49710.195 templon Fri Nov 18 10:21:07 2022 Fri Nov 18 10:39:16 2022        wn-lot-050.nikhef.nl 4+02:51:22                           0.9995049555423193    0

The output gets really bulky, partially because I have headers in the output with names like interval(time()-JobCurrentStartDate). Is there a way (aside from wrapping stuff in a script that does the substitution) to give the headers different names?

JT