querying sge using job_name
- by user39212
Hello,
qstat manual says
-j [job_list]
Prints either for all pending jobs or the jobs con-
tained in job_list various information. The job_list
can contain job_ids, job_names, or wildcard expression
sge_types(1).
i.e. qstat -j job_name should work.
But whenver I try i get an error saying
qstat -j test_20100203_01
ERROR: job-ID should be an integer
Any idea if this should have worked.
I can also use:
qstat | grep test_20100203_01
but the problem is that qstat lists the shortened job name (something like test_2010020 and not test_20100203_01).
Please advise.