Come posso ottenere qstat
per assegnarmi nomi di lavoro completi?qstat e nomi di lavori lunghi
Lo so qstat -r
fornisce informazioni dettagliate sull'attività, ma è troppo e i requisiti delle risorse sono inclusi.
L'qstat -r
stampa ricorda:
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:
In questo momento la mia unica opzione è quella di grep
l'uscita come ho bisogno:
$ 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
Posso farlo meglio per avere un output più bello?
Per ottenere i nomi completi dei lavori di tutti i lavori effettivi di un determinato utente: 'qstat -f | grep -C 1 username @ ' Puoi ottenere maggiori informazioni con' -C 2', '-C 3', ecc. –