Note: This version of the VDT (1.3.2) is no longer supported. Feel free to look through the documentation and install it, but we cannot guarantee support for it. The current stable release is 2.0.0.
vdt-get-job-info allows you to query Globus Jobmanager accounting logs and find information like:
Before you use vdt-get-job-info you must 'source' the setup.csh or setup.sh file to configure your environment. After you do that, vdt-get-job-info should be in your path.
In order for vdt-get-job-info to work properly your jobmanager needs to set up to do accounting. By default, VDT 1.3.2 takes care of this for you. By default, vdt-get-job-info looks for the accounting log at $GLOBUS_LOCATION/var/accounting.log ($GLOBUS_LOCATION is set by setup.sh and setup.csh). If your globus installation logs in a different location you can specify that at the command line with the --file option.
Without any arguments vdt-get-job-info prints a list of all jobs in the accounting log.
> vdt-get-job-info Time Date JMType JobID User Remote Host Certificate Name 15:18:45 04/01/2004 fork 11459 nmueller 198.51.254.40 /DC=org/DC=doegrids/OU=People/CN=Nathan Mueller 677208 15:19:17 04/01/2004 fork 11715 nmueller 198.51.254.40 /DC=org/DC=doegrids/OU=People/CN=Nathan Mueller 677208 15:23:18 04/01/2004 condor 17 nmueller 198.51.254.40 /DC=org/DC=doegrids/OU=People/CN=Nathan Mueller 677208 15:23:17 04/01/2004 condor 18 nmueller 198.51.254.40 /DC=org/DC=doegrids/OU=People/CN=Nathan Mueller 677208 log file begins 15:14:51 04/01/2004Additional arguments allow you to search for specific jobs.
> vdt-get-job-info --help
Usage: vdt-get-job-info
[ --file <accounting log file> ]
[ --job-id <batch job id> ]
[ --ip <ip of submitter> ]
[ --type <job manager type> ]
[ --user <cert subject or unix username> ]
> vdt-get-job-info --job-id 11459
Time Date JMType JobID User Remote Host Certificate Name
15:18:45 04/01/2004 fork 11459 nmueller 198.51.254.40 /DC=org/DC=doegrids/OU=People/CN=Nathan Mueller 677208
log file begins 15:14:51 04/01/2004
If multiple arguments are used, the search terms are ANDed together
> vdt-get-job-info --user nmueller --type condor Time Date JMType JobID User Remote Host Certificate Name 15:23:18 04/01/2004 condor 17 nmueller 198.51.254.40 /DC=org/DC=doegrids/OU=People/CN=Nathan Mueller 677208 15:23:17 04/01/2004 condor 18 nmueller 198.51.254.40 /DC=org/DC=doegrids/OU=People/CN=Nathan Mueller 677208 log file begins 15:14:51 04/01/2004