[torqueusers] command to find total number of jobs of a given user

Rahul Nabar rpnabar at gmail.com
Mon Jun 14 20:06:57 MDT 2010


On Mon, Jun 14, 2010 at 8:07 PM, Christopher Samuel
<samuel at unimelb.edu.au> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1

> I've never found a way to do so, your best bet would be to
> import the accounting logs that Torque keeps into an SQL
> database and then try to work it out from there.
>

I decided to hack a quick and dirty one and just use:

showq | grep Run | awk '{print $2}' | sort | uniq -c

-- 
Rahul


More information about the torqueusers mailing list