bjobs No unfinished job found echo $? 0 工作123 不存在: bjobs 123 Job <123> is not found echo $? 0 工作111 正在執行中: bjobs 111 JOBID USER STAT QUEUE FROM_HOST EXEC_HOST JOB_NAME SUBMIT_TIME 111 user1 RUN normal hostA hostB myjob Oct 22 09:22 echo $? 0 工作111 正在執行中...
The user who submitted the job. STAT The current status of the job (seeJOB STATUSfor details). QUEUE The name of the job queue to which the job belongs. If the queue to which the job belongs has been removed from the configuration, the queue name is displayed aslost_and_found. Useb...
No unfinished job found echo $? 255 When LSB_BJOBS_CONSISTENT_EXIT_CODE=N, thebjobscommand exits with 255 only when a non-existent job ID is entered.bjobsreturns 0 when no jobs are found, all jobs are finished, or if at least one job ID is valid. No jobs are running: bjobs No unf...