3

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).

4

1 回答 1

2

这是一个可以完成这项工作的快速oneliner。

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

顶部要跳过的行数取决于您的 PBS 风格。如果只有一台服务器可用,则扭矩和 PBS Professional 为 5。

于 2013-11-02T04:50:51.170 回答