title: qstat and long job names
body: <p>How can I get <code>qstat</code> to give me full job names?</p>
  
  <p>I know <code>qstat -r</code> gives detailed information about the task, but it's too much and the resource requirements are included.</p>
  
  <p>The <code>qstat -r</code> output is like:</p>
  
  <pre><code> 131806 0.25001 tumor_foca ajalali      qw    09/29/2014 15:49:41                                    1 2-100:1
         Full jobname:     tumor_focality-TCGA-THCA-ratboost_linear_svc
         Hard Resources:   distribution=wheezy (0.000000)
                           h_rt=72000 (0.000000)
                           mem_free=15G (0.000000)
                           h_vmem=15G (0.000000)
                           h_stack=256M (0.000000)
         Soft Resources:   
   131807 0.25001 vital_stat ajalali      qw    09/29/2014 15:49:41                                    1 2-100:1
         Full jobname:     vital_status-TCGA-LGG-ratboost_linear_svc
         Hard Resources:   distribution=wheezy (0.000000)
                           h_rt=72000 (0.000000)
                           mem_free=15G (0.000000)
                           h_vmem=15G (0.000000)
                           h_stack=256M (0.000000)
         Soft Resources:   
  </code></pre>
  
  <p>Right now my only option is to <code>grep</code> the output as I need:</p>
  
  <pre><code>$ qstat -r | grep "Full jobname" -B1
  --
   131806 0.25001 tumor_foca ajalali      qw    09/29/2014 15:49:41                                    1 2-100:1
         Full jobname:     tumor_focality-TCGA-THCA-ratboost_linear_svc
  --
   131807 0.25001 vital_stat ajalali      qw    09/29/2014 15:49:41                                    1 2-100:1
         Full jobname:     vital_status-TCGA-LGG-ratboost_linear_svc
  </code></pre>
  
  <p>Can I do it better to have a nicer output?</p>