문제

How would one request to see the total number of jobs that a user has currently submitted? This could be running jobs, queued jobs, or both. Preferably, I would like to see all of the jobs that I have currently (running and queued).

도움이 되었습니까?

해결책

Here is a quick oneliner that should do the job.

qstat -u username | awk '{if (NR > 5) print}' | wc -l

The number of lines to skip at the top depends on your flavor of PBS. It is 5 on torque and PBS Professional if only one server is available.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top