In bash, typing qstat
will show all the job status.
4426868 0.00000 md_0_1 username hqw 12/31/2017 11:45:25 12
4426869 0.00000 md_0_1 username hqw 12/31/2017 11:45:25 12
4426870 0.00000 md_0_1 username hqw 12/31/2017 11:45:25 12
......
As I have hundreds of jobs, can I only show the first 10 jobs?
Though I don't have qstat
command in my system so couldn't test.
Try following and let me know if this helps you.
qstat | head -10