wx info
Get information about a specific job or list of jobs.
wx: Usage Message
WX INFO:
Get information about a specific job or list of jobs.
USAGE:
% wx info [options] <jobId> ...
OPTIONS:
-c -- Show tasker compatibility table
(which tasker can run a job).
-h -- Help usage message.
-v -- Increase verbosity.
-l -- Show the log file (shows all outputs).
-ioprofile -- Show job I/O profiling summary statistics for jobs
that have been completed. The job must have been
submitted with the -ioprofile option.
-e -- Show the environment name, or contents if a snapshot.
-tc -- Show tasker compatibility in normal output.
-dep -- Show job dependencies.
-J <jobname> -- Show the jobs with given name.
(DO NOT USE IN SCRIPTS!)
NOTE: 'nc info -J JOBNAME' is more expensive than 'nc info JOBID'
We strongly recommend you never use nc info -J ... in scripts.
Reason: job names are not unique and are not hashed. Job Ids are unique.
EXAMPLES:
% wx info 00123456
-- Show info about specific job.
% wx info !
-- Show info about most recent job in current dir.
% wx info -l 12345
-- Show log file(s) of job.
% wx info -J MyJob
-- Show info about all jobs called "MyJob".
% wx info -tc 0012345
-- If job is Scheduled, also show the summary
of tasker compatibility.
When executed with just a jobId, the command displays information such as start time,
completion time, duration, resources, priority, exit status, as shown here:
% wx info 001241618
Id,User,Group 001241618,jon.staff,/time/users.jon
Environment BASE
Directory /Users/jon/work
Command hostname > wx_logs/20180404/115829.25846
Resources macosx CORES/1 RAM/500
Submitted from mac01ac
Submitted at Wed Apr 04 11:58:29 CEST 2018
Priorities schedule=normal execution=low
PlacementPolicy first,pack
Status Done
Host mac01ac
Slave nc_vnc_033524434
QueueTime 8s
CPUTime 0.03
MaxRAM 0MB
Duration 0s
Age 1s
AutoForget 1
Job 001241618 is Done
Main Reason:
This job successfully executed.
Additional Information:
WX Information:
Slave submitted to NC queue: vnc
Slave job ID in NC queue: 033524434
The option -l can be use to look at the log file for the
job:
% wx info -l 001241618
Log file is: db=FILEX '/Users/jon/work/wx_logs/20180404/115829.25846'
mac01ac.local