Qorus Integration Engine  3.0.4.p7
ojview: Show Job Information

Usage
ojview [options]

This program displays information about the status of Qorus Jobs and of job processing. Without options, an overview is given of all job instances in the last 24 hours.

Depending on the options given on the command-line, detailed information can be retrieved and output for the objects desired.

For example, to see an overview of all job data with no time limitations:

unixprompt% ojview –a

To see the detailed status of job instance ID 9649, with job info and error info:

unixprompt% ojview –v j9649
Note
Depending on the options given, this command shows information retrieved from the Qorus by calling various methods of the system.info service (see Job Information Methods for more information).

Be aware that this program is delivered as a Qore-language script, and, as such, requires either the $OMQ_DIR or $QORE_MODULE_DIR environment variables to be set to find the Qorus client module, if not located in the default location.

Data Options Supported by ojview

Option Short Description
name n/a Shows an overview of the job name given for the given time period (default: last 24 hours)
number n/a Shows an overview of the job id given for the given time period (default: last 24 hours)
jid n/a Shows information about the job instance given (id = job instance id)
–date=ARG -D Show information from the date and time given (format YYYY[MM[DD[HHmmSS]]])
–hour -H Show information from the last 60 minutes
–day -d Show information form the last 24 hours (default)
–week -w Show information from the last 7 days
–month -m Show information from the last month
–year -y Show information from the last year
–all -a Show all information

Metadata Option Supported by ojview

Option Short Description
–definition -f Show job definition (metadata)
–all-jobs -A List definition info for all defined jobs

Output Options Supported by ojview

Option Short Description
–status=ARG -S Show only job instances with status=ARG (C = COMPLETE, E = ERROR, I = IN-PROGRESS, Z = CRASH)

Miscellaneous Options Supported by ojview

Option Short Description
–verbose -v Show more information (more –v’s = more info)
–help -h Prints command help text
–url=ARG -u Sets the URL; see UNIX Socket Support in URLs
–proxy-url=ARG -p Set the proxy URL: "http://host:port"; at least host or port must be given; ex: "http://proxy1:8080"; see UNIX Socket Support in URLs
–show-url -U Show default URL
–message -r Show reformatted request and response messages
–literal -l Show literal request and response messages (2x or with -v = show headers)
–mono -M Do not use ANSI colors in output