Is there a way to sort the bjobs output based on submit_time ? Or according to some other field ?
JOBID USER STAT QUEUE FROM_HOST EXEC_HOST JOB_NAME SUBMIT_TIME
Is there a way to sort the bjobs output based on submit_time ? Or according to some other field ?
JOBID USER STAT QUEUE FROM_HOST EXEC_HOST JOB_NAME SUBMIT_TIME
This works for me:
bjobs | sort
This will sort on the job ID which for me is dispersed in order. So this is effectively sorting by submit time.
Not using bjobs directly. However, if you reorder the bjobs output (man bjobs) to list start_time first and you can then pipe to sort. Also, recommend '-noheader'