pjstatj - Display the job execution status (waiting execution, executing, end)
[Style]
pjstatj [Option]
※Conbination specification of -j, -n, -d, -u, -g, -a, -q, -r, -e, -t, -b is AND search.
[Description]
pjstatj command displays the job execution status (execution waiting / execution / termination). If the display result covers multiple lines, the job ID, bulk number, and step number are displayed in ascending order using the composite key.
It is possible to display the execution status from job input to end and the elapsed time from each state transition time to the current time.
Users and project managers can display job information of members belonging to the group. The system administrator can display job information of all members registered in the system. However, the administrator authority described in System administration function needs to be granted. If the job ID, user name or group name is not specified as an option, even the project manager and system administrator can display only their own job information.
If the “-b” option indicating the number of generations is not specified, jobs for the current year are displayed.
[Option]
-j job ID
Specify job ID.
-n line
Specify number of lines. When the number of rows is specified, the number of rows specified in ascending order using the job ID, bulk number, and step number as composite keys is displayed. If no number of lines is specified, all items are displayed.
-d job starting date
Specify job starting date. If it is not specified, displays all.
If this option is specified without “-b” option indicating the number of generations, jobs for all generations are displayed.
There are following patterns about job starting date specification format.
Specified the period yyyymmdd:yyyymmdd
After-specified date yyyymmdd:
Before-specified date :yyyymmdd
Specified date yyyymmdd
-u user name
Specify user name. Multiple designations following a space and forward / middle / backward coincidence designation using asterisks are not allowed. Only single or exact match specification is possible.
-g group name
Specify group name. Multiple designations following a space and forward / middle / backward coincidence designation using asterisks are not allowed. Only single or exact match specification is possible.
-a
Display all user job informaion.If specified -a option, -u, -g option will be disabled.
-R
If sub job information exists, the sub job information is also displayed.
-q
Display only information about jobs waiting to be executed.
The following processing states are targeted.
Process status
Description
ACCEPT
Job submittion status
QUEUED
Waiting execution
RUNNING-A
Requesting execution
RUNNING-P
Processing prologue
-r
Display only executing job information
Following process status are targets.
Process status
Description
RUNNING
Executing job
RUNNING-E
Processing epilogue
RUNOUT
Waiting closing process
-e
Display only terminated job information.
Following process status are targets.
Process status
Description
EXIT
Job execution closed
CANCEL
Job execution stopped
REJECT
Job acceptance failed
-s
Display the search result as detail mode (show all items).
-c
Standard output of search results in CSV format. You can also save to a file by using the redirection function.
-f file name
The display item defined in the system can be changed by the user.
There are the following methods for the user to arbitrarily select display items, which are preferentially interpreted from the top. If this is not specified, the system definition is adopted.
Create a file with any display item selected in any directory and specify it with the -f option (file name is arbitrary)
In the home area, create a file .pjstatj with optional display items (file name is fixed)
The waiting time from when a job is submitted until it is executed can be displayed. If the job is canceled before it starts, the waiting time is displayed as-(hyphen).
-b generation number
Specify the number of past generations that you want to display. If this option is not specified, job information for the current year is displayed.
Information display authority follows the authority at the time of command execution.
-t job end date
Specify job end date. If it is not specified, displays all.
If there is no value in the job end time, displays based on the date of the job submission acceptance.
If this option is specified without “-b” option indicating the number of generations, jobs for all generations are displayed.
There are following patterns about job end date specification format.
Specified the period yyyymmdd:yyyymmdd
After-specified date yyyymmdd:
Before-specified date :yyyymmdd
Specified date yyyymmdd
--help
Display command help contents.
[Return value]
Normal: 0
Abnormal: 1
[Note]
None.
[Use example]
【Example 1】 Display jobs submitted and completed by user (user1)
[login]$ pjstatj-e
JOBID JOBNAME MD USER GROUP ST ELAPSE_LIM ELAPSE_TIM PC10006 sample1 NM user1 group2 EXT 0000:05:00 0000:01:47 0[login]$