Project

General

Profile

jobsub_history

Jobsub_history is an analog of condor_history for querying the job history file on the jobsub-server

As of jobsub version 1.1.6, the architecture of this command has been changed. Prior to 1.1.6, jobsub_q passed through to 'condor_q' on the jobsub_server and returned the results. This became very slow as the job history accumulated. As of 1.1.6, a summary of each completed or removed job is stored in a SQL database, resulting in much faster response. There can be up to a 10 minute lag between when the job completes and when its history finds its way into the database.

For an explanation of the job statuses, please see Explanation of Job Statuses.


$ jobsub_history -h
Usage: jobsub_history [Client Options]

Options:
  --version             show program's version number and exit

  Client Options:
    -G <Group/Experiment/Subgroup>, --group=<Group/Experiment/Subgroup>
                        Group/Experiment/Subgroup for priorities and
                        accounting
    --jobsub-server=<JobSub Server>
                        Alternate location of JobSub server to use
    --user=<uid>        username to look at history of
    --jobid=<Job ID>    Job Id (Cluster ID)  to query
    --qdate-ge=<submission date>
                        job submission date (qdate)  greater than or equal to
                        <submission date>                          Format for
                        <submission date> is 'YYYY-MM-DD' or 'YYYY-MM-DD
                        hh:mm:ss'
    --qdate-le=<submission date>
                        job submission date (qdate)  less than or equal to
                        <submission date>                          Format for
                        <submission date> is 'YYYY-MM-DD' or 'YYYY-MM-DD
                        hh:mm:ss'
    --debug             Print debug messages including server contacted, http
                        response, response time
    -h, --help          Show this help message and exit

REQUIRED arguments are: --group  .Please direct questions, comments, or
problems to the service desk

$ 

Example: has my job finished?


$ jobsub_history -G nova --user dbox
JOBSUBJOBID                             OWNER                SUBMITTED           FINISHED            ST       CMD
3034296.0@fifebatch1.fnal.gov           dbox                 2015-09-24 10:22:27 2015-09-24 10:28:18 C        nova_minus_f.sh 
3034344.0@fifebatch1.fnal.gov           dbox                 2015-09-24 10:55:23 2015-09-24 10:58:35 C        nova_minus_f.sh 
2 jobs; 2 completed, 0 removed, 0 idle, 0 running, 0 held, 0 suspended
JOBSUBJOBID                             OWNER                SUBMITTED           FINISHED            ST       CMD
4313395.0@fifebatch2.fnal.gov           dbox                 2015-09-24 09:57:49 2015-09-24 10:00:32 C        nova_test.sh 
4313393.0@fifebatch2.fnal.gov           dbox                 2015-09-24 09:57:46 2015-09-24 10:00:12 C        nova_test.sh 
4313444.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:05:01 2015-09-24 10:08:02 C        nova_test.sh 
4313443.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:04:58 2015-09-24 10:08:01 C        nova_test.sh 
4313614.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:25:30 2015-09-24 10:26:53 C        nova_maxConcurrent.sh 
4313612.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:25:19 2015-09-24 10:26:25 C        nova_maxConcurrent.sh 
4313613.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:25:20 2015-09-24 10:26:25 C        nova_maxConcurrent.sh 
4313607.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:24:30 2015-09-24 10:26:12 C        nova_maxConcurrent.sh 
4313606.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:24:29 2015-09-24 10:26:11 C        nova_maxConcurrent.sh 
4313611.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:24:55 2015-09-24 10:26:11 C        nova_maxConcurrent.sh 
4313605.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:24:19 2015-09-24 10:26:10 C        nova_maxConcurrent.sh 
4313604.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:24:19 2015-09-24 10:25:49 C        nova_maxConcurrent.sh 
4313602.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:24:19 2015-09-24 10:25:24 C        nova_maxConcurrent.sh 
4313603.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:24:19 2015-09-24 10:25:24 C        nova_maxConcurrent.sh 
4313601.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:24:19 2015-09-24 10:25:23 C        nova_maxConcurrent.sh 
4313597.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:23:49 2015-09-24 10:25:13 C        nova_maxConcurrent.sh 
4313580.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:22:38 2015-09-24 10:25:12 C        nova_maxConcurrent.sh 
4313577.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:22:34 2015-09-24 10:24:45 C        nova_maxConcurrent.sh 
4313549.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:21:03 2015-09-24 10:24:21 C        condor_dagman
4313575.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:22:34 2015-09-24 10:24:21 C        nova_maxConcurrent.sh 
4313574.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:22:33 2015-09-24 10:24:20 C        nova_maxConcurrent.sh 
4313593.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:23:26 2015-09-24 10:24:17 C        jobE.sh 
4313583.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:22:39 2015-09-24 10:24:13 C        nova_maxConcurrent.sh 
4313582.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:22:38 2015-09-24 10:24:13 C        nova_maxConcurrent.sh 
4313581.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:22:38 2015-09-24 10:24:13 C        nova_maxConcurrent.sh 
4313579.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:22:38 2015-09-24 10:24:13 C        nova_maxConcurrent.sh 
4313576.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:22:34 2015-09-24 10:24:12 C        nova_maxConcurrent.sh 
4313573.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:22:33 2015-09-24 10:23:41 C        nova_maxConcurrent.sh 
4313585.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:22:45 2015-09-24 10:23:16 C        jobC.sh 
4313586.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:22:46 2015-09-24 10:23:16 C        jobD.sh 
4313572.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:22:30 2015-09-24 10:22:37 C        jobB.sh 
4313569.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:22:22 2015-09-24 10:22:32 C        nova_maxConcurrent.sh 
4313568.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:22:22 2015-09-24 10:22:28 C        nova_maxConcurrent.sh 
4313555.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:21:24 2015-09-24 10:22:24 C        jobA.sh 
4313564.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:22:03 2015-09-24 10:22:18 C        nova_dropbox.sh 
4313521.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:16:51 2015-09-24 10:20:27 C        nova_test.sh 
4313520.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:16:48 2015-09-24 10:19:39 C        nova_test.sh 
4313562.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:21:53 2015-09-24 10:33:07 C        condor_dagman
4313707.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:32:50 2015-09-24 10:32:58 C        nova_maxConcurrent.sh 
4313561.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:21:50 2015-09-24 10:32:51 C        condor_dagman
4313700.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:32:02 2015-09-24 10:32:48 C        nova_maxConcurrent.sh 
4313693.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:31:04 2015-09-24 10:32:44 C        nova_maxConcurrent.sh 
4313691.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:30:45 2015-09-24 10:31:52 C        nova_maxConcurrent.sh 
4313688.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:30:25 2015-09-24 10:31:36 C        nova_maxConcurrent.sh 
4313687.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:30:23 2015-09-24 10:31:36 C        nova_maxConcurrent.sh 
4313685.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:30:17 2015-09-24 10:31:36 C        nova_maxConcurrent.sh 
4313683.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:30:07 2015-09-24 10:31:20 C        nova_maxConcurrent.sh 
4313681.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:29:57 2015-09-24 10:31:04 C        nova_maxConcurrent.sh 
4313680.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:29:57 2015-09-24 10:31:04 C        nova_maxConcurrent.sh 
4313675.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:29:47 2015-09-24 10:30:58 C        nova_maxConcurrent.sh 
4313673.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:29:42 2015-09-24 10:30:58 C        nova_maxConcurrent.sh 
4313668.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:29:27 2015-09-24 10:30:35 C        nova_maxConcurrent.sh 
4313663.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:29:22 2015-09-24 10:30:35 C        nova_maxConcurrent.sh 
4313662.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:29:07 2015-09-24 10:30:14 C        nova_maxConcurrent.sh 
4313660.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:29:02 2015-09-24 10:30:13 C        nova_maxConcurrent.sh 
4313659.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:29:02 2015-09-24 10:30:10 C        nova_maxConcurrent.sh 
4313656.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:28:42 2015-09-24 10:30:00 C        nova_maxConcurrent.sh 
4313655.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:28:42 2015-09-24 10:29:50 C        nova_maxConcurrent.sh 
4313653.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:28:37 2015-09-24 10:29:50 C        nova_maxConcurrent.sh 
4313651.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:28:27 2015-09-24 10:29:37 C        nova_maxConcurrent.sh 
4313650.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:28:27 2015-09-24 10:29:34 C        nova_maxConcurrent.sh 
4313647.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:28:07 2015-09-24 10:29:21 C        nova_maxConcurrent.sh 
4313646.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:28:02 2015-09-24 10:29:12 C        nova_maxConcurrent.sh 
4313644.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:27:56 2015-09-24 10:29:01 C        nova_maxConcurrent.sh 
4313641.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:27:36 2015-09-24 10:28:56 C        nova_maxConcurrent.sh 
4313642.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:27:36 2015-09-24 10:28:55 C        nova_maxConcurrent.sh 
4313638.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:27:21 2015-09-24 10:28:34 C        nova_maxConcurrent.sh 
4313637.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:27:21 2015-09-24 10:28:34 C        nova_maxConcurrent.sh 
4313636.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:27:21 2015-09-24 10:28:30 C        nova_maxConcurrent.sh 
4313633.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:27:01 2015-09-24 10:28:18 C        nova_maxConcurrent.sh 
4313629.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:26:35 2015-09-24 10:28:17 C        nova_maxConcurrent.sh 
4313628.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:26:31 2015-09-24 10:27:57 C        nova_maxConcurrent.sh 
4313626.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:26:21 2015-09-24 10:27:52 C        nova_maxConcurrent.sh 
4313625.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:26:21 2015-09-24 10:27:51 C        nova_maxConcurrent.sh 
4313622.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:26:15 2015-09-24 10:27:29 C        nova_maxConcurrent.sh 
4313624.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:26:20 2015-09-24 10:27:29 C        nova_maxConcurrent.sh 
4313619.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:25:55 2015-09-24 10:27:15 C        nova_maxConcurrent.sh 
4313616.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:25:30 2015-09-24 10:27:14 C        nova_maxConcurrent.sh 
4313615.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:25:30 2015-09-24 10:27:13 C        nova_maxConcurrent.sh 
3748811.0@fifebatch2.fnal.gov           dbox                 2015-09-02 08:34:23                     X        sleep_forever.sh 
3588417.0@fifebatch2.fnal.gov           dbox                 2015-08-21 14:38:43                     X        sleep.sh 
3588415.0@fifebatch2.fnal.gov           dbox                 2015-08-21 14:36:30                     X        sleep.sh 
4315565.0@fifebatch2.fnal.gov           dbox                 2015-09-24 11:03:58 2015-09-24 11:05:43 C        nova_8999.sh 
4314577.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:54:40 2015-09-24 11:05:07 C        condor_dagman
4315625.0@fifebatch2.fnal.gov           dbox                 2015-09-24 11:05:01 2015-09-24 11:05:07 C        nova_maxConcurrent.sh 
4314598.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:54:44 2015-09-24 11:05:05 C        condor_dagman
4315624.0@fifebatch2.fnal.gov           dbox                 2015-09-24 11:04:59 2015-09-24 11:05:03 C        nova_maxConcurrent.sh 
4315533.0@fifebatch2.fnal.gov           dbox                 2015-09-24 11:03:49 2015-09-24 11:04:55 C        nova_maxConcurrent.sh 
4315527.0@fifebatch2.fnal.gov           dbox                 2015-09-24 11:03:43 2015-09-24 11:04:49 C        nova_maxConcurrent.sh 
4315518.0@fifebatch2.fnal.gov           dbox                 2015-09-24 11:03:29 2015-09-24 11:04:35 C        nova_maxConcurrent.sh 
4315516.0@fifebatch2.fnal.gov           dbox                 2015-09-24 11:03:29 2015-09-24 11:04:34 C        nova_maxConcurrent.sh 
4315486.0@fifebatch2.fnal.gov           dbox                 2015-09-24 11:03:18 2015-09-24 11:04:23 C        nova_maxConcurrent.sh 
4315479.0@fifebatch2.fnal.gov           dbox                 2015-09-24 11:03:08 2015-09-24 11:04:16 C        nova_maxConcurrent.sh 
4315470.0@fifebatch2.fnal.gov           dbox                 2015-09-24 11:03:01 2015-09-24 11:04:08 C        nova_maxConcurrent.sh 
4315563.0@fifebatch2.fnal.gov           dbox                 2015-09-24 11:03:56 2015-09-24 11:04:06 C        nova_7400.sh 
4315534.0@fifebatch2.fnal.gov           dbox                 2015-09-24 11:03:50 2015-09-24 11:04:06 C        nova_7072.sh 
4315545.0@fifebatch2.fnal.gov           dbox                 2015-09-24 11:03:53 2015-09-24 11:04:03 C        nova_7400.sh 
4315464.0@fifebatch2.fnal.gov           dbox                 2015-09-24 11:02:54 2015-09-24 11:03:59 C        nova_maxConcurrent.sh 
4315529.0@fifebatch2.fnal.gov           dbox                 2015-09-24 11:03:46 2015-09-24 11:03:58 C        nova_6561.sh 
4315367.0@fifebatch2.fnal.gov           dbox                 2015-09-24 11:02:38 2015-09-24 11:03:52 C        nova_maxConcurrent.sh 
4315526.0@fifebatch2.fnal.gov           dbox                 2015-09-24 11:03:42 2015-09-24 11:03:51 C        nova_6561.sh 
4315363.0@fifebatch2.fnal.gov           dbox                 2015-09-24 11:02:34 2015-09-24 11:03:41 C        nova_maxConcurrent.sh 
4315361.0@fifebatch2.fnal.gov           dbox                 2015-09-24 11:02:32 2015-09-24 11:03:40 C        nova_maxConcurrent.sh 
4315354.0@fifebatch2.fnal.gov           dbox                 2015-09-24 11:02:26 2015-09-24 11:03:31 C        nova_maxConcurrent.sh 
4315343.0@fifebatch2.fnal.gov           dbox                 2015-09-24 11:02:18 2015-09-24 11:03:24 C        nova_maxConcurrent.sh 
4315336.0@fifebatch2.fnal.gov           dbox                 2015-09-24 11:02:13 2015-09-24 11:03:20 C        nova_maxConcurrent.sh 
4315317.0@fifebatch2.fnal.gov           dbox                 2015-09-24 11:01:52 2015-09-24 11:03:12 C        nova_maxConcurrent.sh 
4315316.0@fifebatch2.fnal.gov           dbox                 2015-09-24 11:01:52 2015-09-24 11:02:59 C        nova_maxConcurrent.sh 
4315315.0@fifebatch2.fnal.gov           dbox                 2015-09-24 11:01:51 2015-09-24 11:02:55 C        nova_maxConcurrent.sh 
4315292.0@fifebatch2.fnal.gov           dbox                 2015-09-24 11:01:26 2015-09-24 11:02:47 C        nova_maxConcurrent.sh 
4315286.0@fifebatch2.fnal.gov           dbox                 2015-09-24 11:01:22 2015-09-24 11:02:27 C        nova_maxConcurrent.sh 
4315277.0@fifebatch2.fnal.gov           dbox                 2015-09-24 11:01:16 2015-09-24 11:02:22 C        nova_maxConcurrent.sh 
4315276.0@fifebatch2.fnal.gov           dbox                 2015-09-24 11:01:16 2015-09-24 11:02:22 C        nova_maxConcurrent.sh 
4315246.0@fifebatch2.fnal.gov           dbox                 2015-09-24 11:01:09 2015-09-24 11:02:20 C        nova_maxConcurrent.sh 
4315241.0@fifebatch2.fnal.gov           dbox                 2015-09-24 11:01:07 2015-09-24 11:02:12 C        nova_maxConcurrent.sh 
4315234.0@fifebatch2.fnal.gov           dbox                 2015-09-24 11:01:02 2015-09-24 11:02:07 C        nova_maxConcurrent.sh 
4315170.0@fifebatch2.fnal.gov           dbox                 2015-09-24 11:00:39 2015-09-24 11:01:44 C        nova_maxConcurrent.sh 
4315162.0@fifebatch2.fnal.gov           dbox                 2015-09-24 11:00:36 2015-09-24 11:01:44 C        nova_maxConcurrent.sh 
4315163.0@fifebatch2.fnal.gov           dbox                 2015-09-24 11:00:36 2015-09-24 11:01:43 C        nova_maxConcurrent.sh 
4315139.0@fifebatch2.fnal.gov           dbox                 2015-09-24 11:00:14 2015-09-24 11:01:19 C        nova_maxConcurrent.sh 
4315134.0@fifebatch2.fnal.gov           dbox                 2015-09-24 11:00:11 2015-09-24 11:01:16 C        nova_maxConcurrent.sh 
4315126.0@fifebatch2.fnal.gov           dbox                 2015-09-24 11:00:04 2015-09-24 11:01:08 C        nova_maxConcurrent.sh 
4315121.0@fifebatch2.fnal.gov           dbox                 2015-09-24 11:00:01 2015-09-24 11:01:06 C        nova_maxConcurrent.sh 
4315093.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:59:56 2015-09-24 11:01:02 C        nova_maxConcurrent.sh 
4315095.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:59:56 2015-09-24 11:01:02 C        nova_maxConcurrent.sh 
4314685.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:55:41 2015-09-24 11:00:52 C        nova_maxConcurrent.sh 
4315023.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:59:10 2015-09-24 11:00:31 C        nova_maxConcurrent.sh 
4315022.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:59:10 2015-09-24 11:00:31 C        nova_maxConcurrent.sh 
4315011.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:59:00 2015-09-24 11:00:31 C        nova_maxConcurrent.sh 
4315010.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:59:00 2015-09-24 11:00:09 C        nova_maxConcurrent.sh 
4315000.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:58:47 2015-09-24 11:00:06 C        nova_maxConcurrent.sh 
4314998.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:58:47 2015-09-24 10:59:54 C        nova_maxConcurrent.sh 
4314971.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:58:07 2015-09-24 10:59:54 C        nova_maxConcurrent.sh 
4314970.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:58:07 2015-09-24 10:59:47 C        nova_maxConcurrent.sh 
4314932.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:57:42 2015-09-24 10:59:47 C        nova_maxConcurrent.sh 
4314931.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:57:42 2015-09-24 10:59:04 C        nova_maxConcurrent.sh 
4314930.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:57:42 2015-09-24 10:59:01 C        nova_maxConcurrent.sh 
4314928.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:57:42 2015-09-24 10:58:50 C        nova_maxConcurrent.sh 
4314929.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:57:42 2015-09-24 10:58:50 C        nova_maxConcurrent.sh 
4314918.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:57:37 2015-09-24 10:58:42 C        nova_maxConcurrent.sh 
4314917.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:57:37 2015-09-24 10:58:42 C        nova_maxConcurrent.sh 
4314852.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:56:52 2015-09-24 10:57:59 C        nova_maxConcurrent.sh 
4314851.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:56:52 2015-09-24 10:57:57 C        nova_maxConcurrent.sh 
4314690.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:55:41 2015-09-24 10:57:33 C        nova_maxConcurrent.sh 
4314689.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:55:41 2015-09-24 10:57:33 C        nova_maxConcurrent.sh 
4314688.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:55:41 2015-09-24 10:57:33 C        nova_maxConcurrent.sh 
4314687.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:55:41 2015-09-24 10:57:31 C        nova_maxConcurrent.sh 
4314686.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:55:41 2015-09-24 10:57:31 C        nova_maxConcurrent.sh 
4314684.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:55:40 2015-09-24 10:57:28 C        nova_maxConcurrent.sh 
4314683.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:55:40 2015-09-24 10:57:27 C        nova_maxConcurrent.sh 
4314503.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:53:53 2015-09-24 10:57:09 C        condor_dagman
4314856.0@fifebatch2.fnal.gov           dbox                 2015-09-24 10:56:57 2015-09-24 10:57:07 C        jobE.sh 
152 jobs; 149 completed, 3 removed, 0 idle, 0 running, 0 held, 0 suspended

Is my job in this list?

If Yes => Proceed to jobsub_fetchlog

If No => Proceed to jobsub_q

If [WAY TOO MUCH OUTPUT!!!] => narrow your query down with --jobid. Narrowing your query down by submission date range will be available soon.

Example: recent Seaquest history on fifebatch.fnal.gov

$ jobsub_history -G seaquest --debug

CLIENT_ARGS:  {'help': False, 'histUser': None, 'jobId': None, 'debug': True, 'acctGroup': 'seaquest', 'jobsubServer': 'https://fifebatch.fnal.gov:8443'}
ACTION URL     : https://fifebatch1.fnal.gov:8443/jobsub/acctgroups/seaquest/jobs/history/

CREDENTIALS    : {'cert': '/tmp/jobsub_x509up_u8531', 'key': '/tmp/jobsub_x509up_u8531'}

Using CA_DIR: /etc/grid-security/certificates
JOBSUBJOBID                             OWNER                SUBMITTED           FINISHED            ST       CMD
3015740.0@fifebatch1.fnal.gov           liuk                 2015-09-16 00:21:44 2015-09-17 05:19:45 C        track_from_digit_015744_r1.5.0_3.sh
3015711.0@fifebatch1.fnal.gov           liuk                 2015-09-16 00:20:31 2015-09-17 05:18:29 C        track_from_digit_015743_r1.5.0_1.sh
3015752.0@fifebatch1.fnal.gov           liuk                 2015-09-16 00:22:15 2015-09-17 05:14:39 C        track_from_digit_015744_r1.5.0_9.sh
3015731.0@fifebatch1.fnal.gov           liuk                 2015-09-16 00:21:33 2015-09-17 05:13:31 C        track_from_digit_015743_r1.5.0_9.sh
3016040.0@fifebatch1.fnal.gov           liuk                 2015-09-16 00:26:56 2015-09-17 05:10:55 C        track_from_digit_015763_r1.5.0_0.sh
3015746.0@fifebatch1.fnal.gov           liuk                 2015-09-16 00:22:05 2015-09-17 05:09:42 C        track_from_digit_015744_r1.5.0_6.sh
3015718.0@fifebatch1.fnal.gov           liuk                 2015-09-16 00:21:04 2015-09-17 05:07:09 C        track_from_digit_015743_r1.5.0_4.sh
3015721.0@fifebatch1.fnal.gov           liuk                 2015-09-16 00:21:07 2015-09-17 05:04:57 C        track_from_digit_015743_r1.5.0_5.sh
3015729.0@fifebatch1.fnal.gov           liuk                 2015-09-16 00:21:30 2015-09-17 05:04:39 C        track_from_digit_015743_r1.5.0_8.sh
3012394.0@fifebatch1.fnal.gov           liuk                 2015-09-15 23:16:33 2015-09-17 05:00:54 C        track_from_digit_015604_r1.5.0_4.sh
3015727.0@fifebatch1.fnal.gov           liuk                 2015-09-16 00:21:27 2015-09-17 04:59:24 C        track_from_digit_015743_r1.5.0_7.sh
3015738.0@fifebatch1.fnal.gov           liuk                 2015-09-16 00:21:40 2015-09-17 04:57:50 C        track_from_digit_015744_r1.5.0_2.sh
3015736.0@fifebatch1.fnal.gov           liuk                 2015-09-16 00:21:38 2015-09-17 04:55:08 C        track_from_digit_015744_r1.5.0_1.sh
3015609.0@fifebatch1.fnal.gov           liuk                 2015-09-16 00:16:41 2015-09-17 04:53:07 C        track_from_digit_015738_r1.5.0_9.sh
3015716.0@fifebatch1.fnal.gov           liuk                 2015-09-16 00:21:00 2015-09-17 04:51:04 C        track_from_digit_015743_r1.5.0_3.sh
3015734.0@fifebatch1.fnal.gov           liuk                 2015-09-16 00:21:35 2015-09-17 04:50:46 C        track_from_digit_015744_r1.5.0_0.sh
3015499.0@fifebatch1.fnal.gov           liuk                 2015-09-16 00:14:27 2015-09-17 04:46:25 C        track_from_digit_015735_r1.5.0_0.sh
3015744.0@fifebatch1.fnal.gov           liuk                 2015-09-16 00:21:51 2015-09-17 04:40:10 C        track_from_digit_015744_r1.5.0_5.sh
3015750.0@fifebatch1.fnal.gov           liuk                 2015-09-16 00:22:10 2015-09-17 04:39:53 C        track_from_digit_015744_r1.5.0_8.sh
3015773.0@fifebatch1.fnal.gov           liuk                 2015-09-16 00:22:25 2015-09-17 04:38:51 C        track_from_digit_015745_r1.5.0_0.sh

[ ~8600 lines deleted for brevity ]

4255596.0@fifebatch2.fnal.gov           bkerns               2015-09-21 11:35:05 2015-09-23 02:15:30 C        mc_drellyan_C_M011_S012_0268.sh 
4255533.0@fifebatch2.fnal.gov           bkerns               2015-09-21 11:33:58 2015-09-23 02:11:16 C        mc_drellyan_C_M011_S012_0233.sh 
4281012.0@fifebatch2.fnal.gov           kherner              2015-09-23 09:02:41 2015-09-23 09:18:41 C        check_mk_probe.sh 
4282247.0@fifebatch2.fnal.gov           kherner              2015-09-23 12:02:49 2015-09-23 12:15:11 C        check_mk_probe.sh 
4285537.0@fifebatch2.fnal.gov           kherner              2015-09-23 15:02:42 2015-09-23 15:19:13 C        check_mk_probe.sh 
4282599.0@fifebatch2.fnal.gov           dannowi1             2015-09-23 12:28:50 2015-09-23 14:21:06 C        production 
4292967.0@fifebatch2.fnal.gov           kherner              2015-09-23 18:02:45 2015-09-23 18:12:08 C        check_mk_probe.sh 
4303902.0@fifebatch2.fnal.gov           kherner              2015-09-24 00:02:48 2015-09-24 00:08:42 C        check_mk_probe.sh 
4308533.0@fifebatch2.fnal.gov           kherner              2015-09-24 03:02:43 2015-09-24 03:15:57 C        check_mk_probe.sh 
4310970.0@fifebatch2.fnal.gov           kherner              2015-09-24 06:02:42 2015-09-24 06:09:59 C        check_mk_probe.sh 
4312751.0@fifebatch2.fnal.gov           kherner              2015-09-24 09:02:42 2015-09-24 09:35:05 C        check_mk_probe.sh 
4317501.0@fifebatch2.fnal.gov           kherner              2015-09-24 12:02:43 2015-09-24 12:26:31 C        check_mk_probe.sh 
4330961.0@fifebatch2.fnal.gov           kherner              2015-09-24 18:02:45 2015-09-24 18:12:12 C        check_mk_probe.sh 
4336175.0@fifebatch2.fnal.gov           kherner              2015-09-24 21:02:48 2015-09-24 21:18:29 C        check_mk_probe.sh 
4340768.0@fifebatch2.fnal.gov           kherner              2015-09-25 00:02:45 2015-09-25 00:19:05 C        check_mk_probe.sh 
4348826.0@fifebatch2.fnal.gov           kherner              2015-09-25 03:02:52 2015-09-25 03:28:07 C        check_mk_probe.sh 
4352710.0@fifebatch2.fnal.gov           kherner              2015-09-25 12:02:43 2015-09-25 12:19:11 C        check_mk_probe.sh 
8052 jobs; 7675 completed, 377 removed, 0 idle, 0 running, 0 held, 0 suspended

JOBSUB SERVER CONTACTED     : https://fifebatch.fnal.gov:8443
JOBSUB SERVER RESPONDED     : https://fifebatch2.fnal.gov:8443
JOBSUB SERVER RESPONSE CODE : 200 (Success)
JOBSUB SERVER SERVICED IN   : 0.876972913742 sec
JOBSUB CLIENT FQDN          : fermicloud326.fnal.gov
JOBSUB CLIENT SERVICED TIME : 25/Sep/2015 15:11:08
$ 

$