[torqueusers] inspecting running jobs

Christopher Samuel samuel at unimelb.edu.au
Tue Oct 2 00:16:43 MDT 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Mahmood,

On 06/09/12 01:50, Mahmood Naderan wrote:

> Assume I have 20 running jobs. When I use "top" command, I see
> that there is one process (which is one of my jobs) that uses a lot
> of memory. How can I find which job number it is?

One option would be to set up the system to use cpusets, then you
could see from /proc/$PID/cpuset what the cpuset is and that will tell
you the job ID for it.

Hope this helps!
Chris
- -- 
 Christopher Samuel        Senior Systems Administrator
 VLSCI - Victorian Life Sciences Computation Initiative
 Email: samuel at unimelb.edu.au Phone: +61 (0)3 903 55545
 http://www.vlsci.org.au/      http://twitter.com/vlsci

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlBqhsoACgkQO2KABBYQAh9FDACggXc8abd/kD+ZhvAcRzb2mvp6
UtMAnRMuLuVKtagJqT+luymkPKd2rjnC
=b6eD
-----END PGP SIGNATURE-----


More information about the torqueusers mailing list