0

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?

Cyrus
  • 84,225
  • 14
  • 89
  • 153
lanselibai
  • 1,203
  • 2
  • 19
  • 35

1 Answers1

2

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
RavinderSingh13
  • 130,504
  • 14
  • 57
  • 93