|
Interface: New option(-E) in qstat command
In comparison with existing qstat, following are the different scenarios of qstat expression option
Scenario | qstat | qstat with express option |
---|---|---|
qstat with no job id | queries the default server and displays the result | No change in behavior, same as old qstat |
qstat with list of job IDs from default server | queries the jobs sequentially to the default server and then displays the result one after another | sorts all the jobs on the basis of their job-id numbers, creates a list out of these sorted job ids and then queries the default server only once. Displays jobs in ascending order of their job ids. |
qstat with list of job IDs from default server with the queue name from the same server example: qstat 5.centos 3.centos 4.centos workq | It queries and displays results in the order job ids and queue names are given to the command. | Queries the queues first and then creates a list of jobs in ascending order of their job Ids and then displays it. |
qstat with list of job IDs from default server and from other remote servers example qstat 3.centos 1111.centos-2@centos-2 1112.centos-2@centos-2 4.centos | queries the jobs sequentially (in the order it is submitted) and then displays the result one after another | sorts the jobs on the basis of server (if the server is same then it sorts on the basis of job ids) and then queries the list of jobs from their respective server and displays it accordingly. |