Using CCQ Stat
ccqstat will diplay the status of all of the jobs in the queue. It will give you a snapshot of the status at that momnent in time. You can run the watch command with ccqstat an the time interval to keep it open and updated through each phase of the job submission and run process.
ccqstat watch ccqstat
(default interval for watch is 2 seconds) Run watch -h, - -help for more options
usage: ccqstat [-h] [-V] [-i CCACCESSKEY] [-j JOBID] [-v] [-s SCHEDULERNAME] [-cl <days_for_login_cert_to_be_valid_for>] [-pe] [-pd] [-pi] [-ru REMOTEUSERNAME] [-ji] [-po] [-ps] [-pt] [-ph] [-pc] [-ir]
A utility that gives you the status of all the jobs that have been submitted to ccq.
Optional Arguments: -h, –help show this help message and exit -V show program’s version number and exit -i CCACCESSKEY The path to the file containing the app key for use when validating the user on the requested resources. -j JOBID The job Id of the job you want to check on. If no job Id is specified then information about all jobs will be shown. -v Specifies the verbose option that lists more details about the job or job[s] requested. -s SCHEDULERNAME The name of the Scheduler/Target that you want to see the jobs listed for. -cl «days_for_login_cert_to_be_valid_for» Specifies the number of days that the generated ccq login certificate is valid for. This certificate is used so that you do not have to enter your username/password combination each time you submit a job. The default is 1 day, and the value must be an integer greater than or equal to 0. Setting the certificate valid length to 0 will disable the generation of login certificates. If the certLength variable is set in the ccq.config file then the value in the ccq.config file will override the value entered via the commandline. -pe Specifies that ccq should print out any ccq errors for the specified job to the commandline and exit. -pd Specifies that ccq should print out the destination that the specified job output files were transferred to and exit. -pi Specifies that ccq should print out the instances that the job is currently running on and exit. -ru REMOTEUSERNAME The remote username to run the job as. This parameter only applies when app keys are used. If the app key belongs to a Proxy user, the remote user name is the username that the job should run as. If the app key does not belong to a Proxy user, then the job is run as the user who the app key belongs too. This argument cannot be used without specifying the -i argument as well. -ji Specifies that ccq should print out the job information and exit. -po Specifies that ccq should print out who submitted the job and exit. -ps Specifies that ccq should print out when the job was submitted and exit. -pt Specifies that ccq should print out when the job was dispatched to the scheduler and exit. -ph Specifies that ccq should print out the submit host for the job and exit. -pc Specifies that ccq should print out the number of cpus requested for the job and exit. -ir Specifies that ccq should print out the number of instances that have successfully registered with the Scheduler. This information is mainly used for monitoring the Compute Group creation process.